hanko_xml 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +44 -0
- data/Cargo.lock +401 -0
- data/Cargo.toml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +222 -0
- data/THIRD_PARTY_LICENSES.md +392 -0
- data/dependencies.yml +87 -0
- data/ext/hanko_xml/Cargo.toml +20 -0
- data/ext/hanko_xml/build/vendor.rs +817 -0
- data/ext/hanko_xml/build.rs +298 -0
- data/ext/hanko_xml/extconf.rb +6 -0
- data/ext/hanko_xml/src/dsig.rs +1851 -0
- data/ext/hanko_xml/src/errors.rs +151 -0
- data/ext/hanko_xml/src/lib.rs +490 -0
- data/ext/hanko_xml/src/sys.rs +43 -0
- data/lib/hanko_xml/algorithms.rb +228 -0
- data/lib/hanko_xml/dom.rb +137 -0
- data/lib/hanko_xml/errors.rb +132 -0
- data/lib/hanko_xml/exc-c14n.xsd +26 -0
- data/lib/hanko_xml/input.rb +50 -0
- data/lib/hanko_xml/key.rb +213 -0
- data/lib/hanko_xml/key_info.rb +67 -0
- data/lib/hanko_xml/native_version.rb +75 -0
- data/lib/hanko_xml/nokogiri_ext.rb +34 -0
- data/lib/hanko_xml/placement.rb +127 -0
- data/lib/hanko_xml/policy.rb +502 -0
- data/lib/hanko_xml/reference.rb +49 -0
- data/lib/hanko_xml/signature_info.rb +134 -0
- data/lib/hanko_xml/signed_document.rb +155 -0
- data/lib/hanko_xml/signer.rb +572 -0
- data/lib/hanko_xml/template.rb +150 -0
- data/lib/hanko_xml/transform.rb +87 -0
- data/lib/hanko_xml/verification.rb +377 -0
- data/lib/hanko_xml/verifier.rb +694 -0
- data/lib/hanko_xml/version.rb +5 -0
- data/lib/hanko_xml/xades/verifier.rb +319 -0
- data/lib/hanko_xml/xades.rb +287 -0
- data/lib/hanko_xml/xml.rb +93 -0
- data/lib/hanko_xml/xmldsig-core-schema.xsd +332 -0
- data/lib/hanko_xml.rb +122 -0
- data/sig/hanko_xml/key.rbs +48 -0
- data/sig/hanko_xml/native.rbs +12 -0
- data/sig/hanko_xml/native_version.rbs +13 -0
- data/sig/hanko_xml/nokogiri_ext.rbs +23 -0
- data/sig/hanko_xml/placement.rbs +27 -0
- data/sig/hanko_xml/policy.rbs +83 -0
- data/sig/hanko_xml/reference.rbs +36 -0
- data/sig/hanko_xml/signed_document.rbs +66 -0
- data/sig/hanko_xml/signer.rbs +50 -0
- data/sig/hanko_xml/template.rbs +41 -0
- data/sig/hanko_xml/verification.rbs +100 -0
- data/sig/hanko_xml/verifier.rbs +45 -0
- data/sig/hanko_xml/xades.rbs +70 -0
- data/sig/hanko_xml.rbs +62 -0
- metadata +105 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: c179727024902245d166e6754fbc184637057182cc1c8e44eab643b0c69bb344
|
|
4
|
+
data.tar.gz: 50a2ec96ba76f3bb2888639ea18f730c95e1e8c0b21b83d8223716ec7054693b
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: f6f5636282fbce016d2409cf7f2327259c16ec5ff3c9b2b6983656fdab9d6984828be47cc07e61001f2f941a44e58bc142d585e608e9cf0b1ec1d07f59b3bc92
|
|
7
|
+
data.tar.gz: d4737956455e23fc4edf6ff830d1765402e926b3976247f1c58089a91f0019a447ad57f0337c633e2994522efbddd623201fe238a8bb95a663e66a621b96ef31
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented here. The format follows
|
|
4
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the gem version
|
|
5
|
+
follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) **over the
|
|
6
|
+
Ruby API only** — the libxmlsec1 version the extension is built against is
|
|
7
|
+
tracked separately, and is reported by `HankoXml::NativeVersion.build_versions`.
|
|
8
|
+
|
|
9
|
+
## [Unreleased]
|
|
10
|
+
|
|
11
|
+
## [0.1.0] - 2026-10-15
|
|
12
|
+
|
|
13
|
+
First release.
|
|
14
|
+
|
|
15
|
+
- **XML-DSig signing and verification** of enveloped, enveloping and detached
|
|
16
|
+
signatures, through libxmlsec1: canonicalization, digests, signature math and
|
|
17
|
+
reference resolution all happen in xmlsec, never in Ruby.
|
|
18
|
+
- **Secure by default.** `Policy.strict` denies SHA-1, HMAC, XSLT, XPath and
|
|
19
|
+
external references, requires 2048-bit RSA and DSA and 256-bit EC keys, and
|
|
20
|
+
checks the signing certificate's key usage. Opt-in presets cover other needs:
|
|
21
|
+
`Policy.fragment` (SAML-style signed fragments), `Policy.legacy_sha1`,
|
|
22
|
+
`Policy.xades` (RSA-PSS, SHA-3, ECDSA-SHA3) and `Policy.interop` for older
|
|
23
|
+
signatures.
|
|
24
|
+
- **The caller chooses the key.** Verification uses the certificate, key or
|
|
25
|
+
`OpenSSL::X509::Store` you pass, never one selected by the document's
|
|
26
|
+
`<KeyInfo>`, and `Verification` reports which references were signed, so
|
|
27
|
+
XML Signature Wrapping is caught.
|
|
28
|
+
- **XAdES-B** signing (`Xades::Signer`) and verification (`Xades::Verifier`),
|
|
29
|
+
including XAdES 1.2.2 and 1.1.1 signed properties, tested against SignXML
|
|
30
|
+
and the EU DSS corpus.
|
|
31
|
+
- **Works without Nokogiri.** Signing and verification run on Strings, files
|
|
32
|
+
and IOs. With Nokogiri, the documents you already hold can be signed in
|
|
33
|
+
place, and `require "hanko_xml/nokogiri_ext"` adds `doc.sign!` and
|
|
34
|
+
`doc.signature_valid?`.
|
|
35
|
+
- **Detailed results.** `Verification` exposes the certificate chain,
|
|
36
|
+
`SignedInfo`, `KeyInfo` and per-reference status, with
|
|
37
|
+
`Verifier.without_trust_verification` for integrity-only checks.
|
|
38
|
+
- **External references** are served only from `referenced_documents:`: the
|
|
39
|
+
library never reads files or opens network connections.
|
|
40
|
+
- **Precompiled gems** for `x86_64-linux`, `aarch64-linux`, `arm64-darwin` and
|
|
41
|
+
`x64-mingw-ucrt`, with libxml2 2.15.4, xmlsec1 1.3.12 and OpenSSL 3.5.9
|
|
42
|
+
statically linked and isolated from Nokogiri's libxml2. Other platforms build
|
|
43
|
+
the source gem against the system libraries (libxmlsec1 `>= 1.2.30, < 1.4`).
|
|
44
|
+
- **Ruby 3.1 to 3.4**, with RBS signatures in `sig/`.
|
data/Cargo.lock
ADDED
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "aho-corasick"
|
|
7
|
+
version = "1.1.5"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"memchr",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[[package]]
|
|
15
|
+
name = "bindgen"
|
|
16
|
+
version = "0.72.1"
|
|
17
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
19
|
+
dependencies = [
|
|
20
|
+
"bitflags",
|
|
21
|
+
"cexpr",
|
|
22
|
+
"clang-sys",
|
|
23
|
+
"itertools",
|
|
24
|
+
"proc-macro2",
|
|
25
|
+
"quote",
|
|
26
|
+
"regex",
|
|
27
|
+
"rustc-hash",
|
|
28
|
+
"shlex 1.3.0",
|
|
29
|
+
"syn",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "bindgen"
|
|
34
|
+
version = "0.73.1"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "54be9a169b85a1bef39252af30bb6246a31b23c7e0f6a162520dd869f8dad33c"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"bitflags",
|
|
39
|
+
"cexpr",
|
|
40
|
+
"clang-sys",
|
|
41
|
+
"log",
|
|
42
|
+
"prettyplease",
|
|
43
|
+
"proc-macro2",
|
|
44
|
+
"quote",
|
|
45
|
+
"regex",
|
|
46
|
+
"rustc-hash",
|
|
47
|
+
"shlex 2.0.1",
|
|
48
|
+
"syn",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[[package]]
|
|
52
|
+
name = "bitflags"
|
|
53
|
+
version = "2.13.1"
|
|
54
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
+
checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
|
|
56
|
+
|
|
57
|
+
[[package]]
|
|
58
|
+
name = "block-buffer"
|
|
59
|
+
version = "0.12.1"
|
|
60
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
+
checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
|
|
62
|
+
dependencies = [
|
|
63
|
+
"hybrid-array",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "cexpr"
|
|
68
|
+
version = "0.6.0"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
71
|
+
dependencies = [
|
|
72
|
+
"nom",
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
[[package]]
|
|
76
|
+
name = "cfg-if"
|
|
77
|
+
version = "1.0.4"
|
|
78
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
80
|
+
|
|
81
|
+
[[package]]
|
|
82
|
+
name = "clang-sys"
|
|
83
|
+
version = "1.9.1"
|
|
84
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
85
|
+
checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a"
|
|
86
|
+
dependencies = [
|
|
87
|
+
"glob",
|
|
88
|
+
"libc",
|
|
89
|
+
"libloading",
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "const-oid"
|
|
94
|
+
version = "0.10.2"
|
|
95
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
+
checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
|
|
97
|
+
|
|
98
|
+
[[package]]
|
|
99
|
+
name = "cpufeatures"
|
|
100
|
+
version = "0.3.1"
|
|
101
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
|
+
checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
|
|
103
|
+
dependencies = [
|
|
104
|
+
"libc",
|
|
105
|
+
]
|
|
106
|
+
|
|
107
|
+
[[package]]
|
|
108
|
+
name = "crypto-common"
|
|
109
|
+
version = "0.2.2"
|
|
110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
111
|
+
checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
|
|
112
|
+
dependencies = [
|
|
113
|
+
"hybrid-array",
|
|
114
|
+
]
|
|
115
|
+
|
|
116
|
+
[[package]]
|
|
117
|
+
name = "digest"
|
|
118
|
+
version = "0.11.3"
|
|
119
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
+
checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
|
|
121
|
+
dependencies = [
|
|
122
|
+
"block-buffer",
|
|
123
|
+
"const-oid",
|
|
124
|
+
"crypto-common",
|
|
125
|
+
]
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "either"
|
|
129
|
+
version = "1.18.0"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "glob"
|
|
135
|
+
version = "0.3.4"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b"
|
|
138
|
+
|
|
139
|
+
[[package]]
|
|
140
|
+
name = "hanko_xml"
|
|
141
|
+
version = "0.1.0"
|
|
142
|
+
dependencies = [
|
|
143
|
+
"bindgen 0.73.1",
|
|
144
|
+
"magnus",
|
|
145
|
+
"pkg-config",
|
|
146
|
+
"sha2",
|
|
147
|
+
]
|
|
148
|
+
|
|
149
|
+
[[package]]
|
|
150
|
+
name = "hybrid-array"
|
|
151
|
+
version = "0.4.14"
|
|
152
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
153
|
+
checksum = "707114b52a152fa7bdb290cd7cd5912d9467273b6d74e21b8d81aca1f8533f6b"
|
|
154
|
+
dependencies = [
|
|
155
|
+
"typenum",
|
|
156
|
+
]
|
|
157
|
+
|
|
158
|
+
[[package]]
|
|
159
|
+
name = "itertools"
|
|
160
|
+
version = "0.13.0"
|
|
161
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
163
|
+
dependencies = [
|
|
164
|
+
"either",
|
|
165
|
+
]
|
|
166
|
+
|
|
167
|
+
[[package]]
|
|
168
|
+
name = "lazy_static"
|
|
169
|
+
version = "1.5.0"
|
|
170
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
171
|
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
172
|
+
|
|
173
|
+
[[package]]
|
|
174
|
+
name = "libc"
|
|
175
|
+
version = "0.2.189"
|
|
176
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
178
|
+
|
|
179
|
+
[[package]]
|
|
180
|
+
name = "libloading"
|
|
181
|
+
version = "0.8.9"
|
|
182
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
183
|
+
checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
|
|
184
|
+
dependencies = [
|
|
185
|
+
"cfg-if",
|
|
186
|
+
"windows-link",
|
|
187
|
+
]
|
|
188
|
+
|
|
189
|
+
[[package]]
|
|
190
|
+
name = "log"
|
|
191
|
+
version = "0.4.34"
|
|
192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
+
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
194
|
+
|
|
195
|
+
[[package]]
|
|
196
|
+
name = "magnus"
|
|
197
|
+
version = "0.8.2"
|
|
198
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
199
|
+
checksum = "3b36a5b126bbe97eb0d02d07acfeb327036c6319fd816139a49824a83b7f9012"
|
|
200
|
+
dependencies = [
|
|
201
|
+
"magnus-macros",
|
|
202
|
+
"rb-sys",
|
|
203
|
+
"rb-sys-env",
|
|
204
|
+
"seq-macro",
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "magnus-macros"
|
|
209
|
+
version = "0.8.0"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
|
|
212
|
+
dependencies = [
|
|
213
|
+
"proc-macro2",
|
|
214
|
+
"quote",
|
|
215
|
+
"syn",
|
|
216
|
+
]
|
|
217
|
+
|
|
218
|
+
[[package]]
|
|
219
|
+
name = "memchr"
|
|
220
|
+
version = "2.8.3"
|
|
221
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
222
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
223
|
+
|
|
224
|
+
[[package]]
|
|
225
|
+
name = "minimal-lexical"
|
|
226
|
+
version = "0.2.1"
|
|
227
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
228
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
229
|
+
|
|
230
|
+
[[package]]
|
|
231
|
+
name = "nom"
|
|
232
|
+
version = "7.1.3"
|
|
233
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
235
|
+
dependencies = [
|
|
236
|
+
"memchr",
|
|
237
|
+
"minimal-lexical",
|
|
238
|
+
]
|
|
239
|
+
|
|
240
|
+
[[package]]
|
|
241
|
+
name = "pkg-config"
|
|
242
|
+
version = "0.3.34"
|
|
243
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
244
|
+
checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
|
|
245
|
+
|
|
246
|
+
[[package]]
|
|
247
|
+
name = "prettyplease"
|
|
248
|
+
version = "0.2.37"
|
|
249
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
+
checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
|
|
251
|
+
dependencies = [
|
|
252
|
+
"proc-macro2",
|
|
253
|
+
"syn",
|
|
254
|
+
]
|
|
255
|
+
|
|
256
|
+
[[package]]
|
|
257
|
+
name = "proc-macro2"
|
|
258
|
+
version = "1.0.107"
|
|
259
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
+
checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
|
|
261
|
+
dependencies = [
|
|
262
|
+
"unicode-ident",
|
|
263
|
+
]
|
|
264
|
+
|
|
265
|
+
[[package]]
|
|
266
|
+
name = "quote"
|
|
267
|
+
version = "1.0.47"
|
|
268
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
+
checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
|
|
270
|
+
dependencies = [
|
|
271
|
+
"proc-macro2",
|
|
272
|
+
]
|
|
273
|
+
|
|
274
|
+
[[package]]
|
|
275
|
+
name = "rb-sys"
|
|
276
|
+
version = "0.9.130"
|
|
277
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
278
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
279
|
+
dependencies = [
|
|
280
|
+
"rb-sys-build",
|
|
281
|
+
]
|
|
282
|
+
|
|
283
|
+
[[package]]
|
|
284
|
+
name = "rb-sys-build"
|
|
285
|
+
version = "0.9.130"
|
|
286
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
288
|
+
dependencies = [
|
|
289
|
+
"bindgen 0.72.1",
|
|
290
|
+
"lazy_static",
|
|
291
|
+
"proc-macro2",
|
|
292
|
+
"quote",
|
|
293
|
+
"regex",
|
|
294
|
+
"shell-words",
|
|
295
|
+
"syn",
|
|
296
|
+
]
|
|
297
|
+
|
|
298
|
+
[[package]]
|
|
299
|
+
name = "rb-sys-env"
|
|
300
|
+
version = "0.2.3"
|
|
301
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
302
|
+
checksum = "cca7ad6a7e21e72151d56fe2495a259b5670e204c3adac41ee7ef676ea08117a"
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "regex"
|
|
306
|
+
version = "1.13.1"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
|
|
309
|
+
dependencies = [
|
|
310
|
+
"aho-corasick",
|
|
311
|
+
"memchr",
|
|
312
|
+
"regex-automata",
|
|
313
|
+
"regex-syntax",
|
|
314
|
+
]
|
|
315
|
+
|
|
316
|
+
[[package]]
|
|
317
|
+
name = "regex-automata"
|
|
318
|
+
version = "0.4.18"
|
|
319
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
320
|
+
checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
|
|
321
|
+
dependencies = [
|
|
322
|
+
"aho-corasick",
|
|
323
|
+
"memchr",
|
|
324
|
+
"regex-syntax",
|
|
325
|
+
]
|
|
326
|
+
|
|
327
|
+
[[package]]
|
|
328
|
+
name = "regex-syntax"
|
|
329
|
+
version = "0.8.11"
|
|
330
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
332
|
+
|
|
333
|
+
[[package]]
|
|
334
|
+
name = "rustc-hash"
|
|
335
|
+
version = "2.1.3"
|
|
336
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "seq-macro"
|
|
341
|
+
version = "0.3.6"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc"
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "sha2"
|
|
347
|
+
version = "0.11.0"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"cfg-if",
|
|
352
|
+
"cpufeatures",
|
|
353
|
+
"digest",
|
|
354
|
+
]
|
|
355
|
+
|
|
356
|
+
[[package]]
|
|
357
|
+
name = "shell-words"
|
|
358
|
+
version = "1.1.1"
|
|
359
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
+
checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77"
|
|
361
|
+
|
|
362
|
+
[[package]]
|
|
363
|
+
name = "shlex"
|
|
364
|
+
version = "1.3.0"
|
|
365
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
366
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
367
|
+
|
|
368
|
+
[[package]]
|
|
369
|
+
name = "shlex"
|
|
370
|
+
version = "2.0.1"
|
|
371
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
372
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
373
|
+
|
|
374
|
+
[[package]]
|
|
375
|
+
name = "syn"
|
|
376
|
+
version = "2.0.119"
|
|
377
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
378
|
+
checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
|
|
379
|
+
dependencies = [
|
|
380
|
+
"proc-macro2",
|
|
381
|
+
"quote",
|
|
382
|
+
"unicode-ident",
|
|
383
|
+
]
|
|
384
|
+
|
|
385
|
+
[[package]]
|
|
386
|
+
name = "typenum"
|
|
387
|
+
version = "1.20.1"
|
|
388
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
389
|
+
checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
390
|
+
|
|
391
|
+
[[package]]
|
|
392
|
+
name = "unicode-ident"
|
|
393
|
+
version = "1.0.24"
|
|
394
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
395
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
396
|
+
|
|
397
|
+
[[package]]
|
|
398
|
+
name = "windows-link"
|
|
399
|
+
version = "0.2.1"
|
|
400
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
401
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
data/Cargo.toml
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Danimar Ribeiro
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|