admina-core 0.9.0__tar.gz
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.
- admina_core-0.9.0/.cargo/config.toml +57 -0
- admina_core-0.9.0/Cargo.lock +570 -0
- admina_core-0.9.0/Cargo.toml +35 -0
- admina_core-0.9.0/PKG-INFO +56 -0
- admina_core-0.9.0/README.md +26 -0
- admina_core-0.9.0/pyproject.toml +61 -0
- admina_core-0.9.0/src/firewall.rs +388 -0
- admina_core-0.9.0/src/forensic.rs +149 -0
- admina_core-0.9.0/src/lib.rs +53 -0
- admina_core-0.9.0/src/loop_breaker.rs +205 -0
- admina_core-0.9.0/src/pii.rs +226 -0
- admina_core-0.9.0/uv.lock +8 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# macOS Framework Python — linker configuration
|
|
2
|
+
#
|
|
3
|
+
# WHEN THIS FILE IS NEEDED
|
|
4
|
+
# ────────────────────────
|
|
5
|
+
# Only when you run `cargo test` (full binary link) on macOS with a
|
|
6
|
+
# Framework-style Python installation (Homebrew, python.org installer).
|
|
7
|
+
# The CONTRIBUTING.md guide uses `cargo test --lib`, which builds against
|
|
8
|
+
# the `rlib` crate type and does NOT need to link libpython — so most
|
|
9
|
+
# contributors never need to touch this file.
|
|
10
|
+
#
|
|
11
|
+
# WHAT THIS FILE DOES
|
|
12
|
+
# ───────────────────
|
|
13
|
+
# Homebrew Python does not install a standalone `libpython3.x.dylib`.
|
|
14
|
+
# Instead it ships a `.framework` bundle. The Apple linker finds it via
|
|
15
|
+
# `-F <framework-search-dir> -framework Python`.
|
|
16
|
+
#
|
|
17
|
+
# HOW TO USE IT
|
|
18
|
+
# ─────────────
|
|
19
|
+
# 1. Identify your Python install path:
|
|
20
|
+
# python3 -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))"
|
|
21
|
+
# Example output: /opt/homebrew/opt/python@3.14/Frameworks/Python.framework/Versions/3.14/lib
|
|
22
|
+
#
|
|
23
|
+
# 2. Set the framework search directory (the path BEFORE "Python.framework"):
|
|
24
|
+
# E.g. /opt/homebrew/opt/python@3.14/Frameworks
|
|
25
|
+
# /opt/homebrew/opt/python@3.13/Frameworks
|
|
26
|
+
# /opt/homebrew/opt/python@3.11/Frameworks
|
|
27
|
+
#
|
|
28
|
+
# 3. Update the -F flag below to match, then run:
|
|
29
|
+
# PYO3_PYTHON=python3 cargo test
|
|
30
|
+
#
|
|
31
|
+
# ALTERNATIVE (no config needed)
|
|
32
|
+
# ───────────────────────────────
|
|
33
|
+
# Use a uv-managed Python, which DOES expose a shared library:
|
|
34
|
+
# PYO3_PYTHON=$(uv python find 3.11) cargo test --lib
|
|
35
|
+
# This is what CI does. It works on macOS and Linux without any flags.
|
|
36
|
+
#
|
|
37
|
+
# NOTE FOR LINUX
|
|
38
|
+
# ──────────────
|
|
39
|
+
# The [target.*-apple-darwin] sections below are ignored on Linux entirely.
|
|
40
|
+
# Linux cargo test works out of the box:
|
|
41
|
+
# PYO3_PYTHON=$(uv python find 3.11) cargo test --lib
|
|
42
|
+
|
|
43
|
+
[target.aarch64-apple-darwin]
|
|
44
|
+
# Update python@3.14 to match your installed Homebrew Python version.
|
|
45
|
+
rustflags = [
|
|
46
|
+
"-C", "link-arg=-F/opt/homebrew/opt/python@3.14/Frameworks",
|
|
47
|
+
"-C", "link-arg=-framework",
|
|
48
|
+
"-C", "link-arg=Python",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[target.x86_64-apple-darwin]
|
|
52
|
+
# Update python@3.14 to match your installed Homebrew Python version.
|
|
53
|
+
rustflags = [
|
|
54
|
+
"-C", "link-arg=-F/opt/homebrew/opt/python@3.14/Frameworks",
|
|
55
|
+
"-C", "link-arg=-framework",
|
|
56
|
+
"-C", "link-arg=Python",
|
|
57
|
+
]
|
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "admina_core"
|
|
7
|
+
version = "0.9.0"
|
|
8
|
+
dependencies = [
|
|
9
|
+
"chrono",
|
|
10
|
+
"hex",
|
|
11
|
+
"pyo3",
|
|
12
|
+
"regex",
|
|
13
|
+
"serde",
|
|
14
|
+
"serde_json",
|
|
15
|
+
"sha2",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
[[package]]
|
|
19
|
+
name = "aho-corasick"
|
|
20
|
+
version = "1.1.4"
|
|
21
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
22
|
+
checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
|
|
23
|
+
dependencies = [
|
|
24
|
+
"memchr",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[[package]]
|
|
28
|
+
name = "android_system_properties"
|
|
29
|
+
version = "0.1.5"
|
|
30
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
31
|
+
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
|
32
|
+
dependencies = [
|
|
33
|
+
"libc",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "autocfg"
|
|
38
|
+
version = "1.5.0"
|
|
39
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
41
|
+
|
|
42
|
+
[[package]]
|
|
43
|
+
name = "block-buffer"
|
|
44
|
+
version = "0.10.4"
|
|
45
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
46
|
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
47
|
+
dependencies = [
|
|
48
|
+
"generic-array",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[[package]]
|
|
52
|
+
name = "bumpalo"
|
|
53
|
+
version = "3.20.2"
|
|
54
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
55
|
+
checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb"
|
|
56
|
+
|
|
57
|
+
[[package]]
|
|
58
|
+
name = "cc"
|
|
59
|
+
version = "1.2.56"
|
|
60
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
61
|
+
checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2"
|
|
62
|
+
dependencies = [
|
|
63
|
+
"find-msvc-tools",
|
|
64
|
+
"shlex",
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "cfg-if"
|
|
69
|
+
version = "1.0.4"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
72
|
+
|
|
73
|
+
[[package]]
|
|
74
|
+
name = "chrono"
|
|
75
|
+
version = "0.4.44"
|
|
76
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
+
checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0"
|
|
78
|
+
dependencies = [
|
|
79
|
+
"iana-time-zone",
|
|
80
|
+
"js-sys",
|
|
81
|
+
"num-traits",
|
|
82
|
+
"wasm-bindgen",
|
|
83
|
+
"windows-link",
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "core-foundation-sys"
|
|
88
|
+
version = "0.8.7"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
|
91
|
+
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "cpufeatures"
|
|
94
|
+
version = "0.2.17"
|
|
95
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
+
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
|
|
97
|
+
dependencies = [
|
|
98
|
+
"libc",
|
|
99
|
+
]
|
|
100
|
+
|
|
101
|
+
[[package]]
|
|
102
|
+
name = "crypto-common"
|
|
103
|
+
version = "0.1.7"
|
|
104
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
105
|
+
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
106
|
+
dependencies = [
|
|
107
|
+
"generic-array",
|
|
108
|
+
"typenum",
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
[[package]]
|
|
112
|
+
name = "digest"
|
|
113
|
+
version = "0.10.7"
|
|
114
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
115
|
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
116
|
+
dependencies = [
|
|
117
|
+
"block-buffer",
|
|
118
|
+
"crypto-common",
|
|
119
|
+
]
|
|
120
|
+
|
|
121
|
+
[[package]]
|
|
122
|
+
name = "find-msvc-tools"
|
|
123
|
+
version = "0.1.9"
|
|
124
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
125
|
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
126
|
+
|
|
127
|
+
[[package]]
|
|
128
|
+
name = "generic-array"
|
|
129
|
+
version = "0.14.7"
|
|
130
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
131
|
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
132
|
+
dependencies = [
|
|
133
|
+
"typenum",
|
|
134
|
+
"version_check",
|
|
135
|
+
]
|
|
136
|
+
|
|
137
|
+
[[package]]
|
|
138
|
+
name = "heck"
|
|
139
|
+
version = "0.5.0"
|
|
140
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
142
|
+
|
|
143
|
+
[[package]]
|
|
144
|
+
name = "hex"
|
|
145
|
+
version = "0.4.3"
|
|
146
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
+
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
|
148
|
+
|
|
149
|
+
[[package]]
|
|
150
|
+
name = "iana-time-zone"
|
|
151
|
+
version = "0.1.65"
|
|
152
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
153
|
+
checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470"
|
|
154
|
+
dependencies = [
|
|
155
|
+
"android_system_properties",
|
|
156
|
+
"core-foundation-sys",
|
|
157
|
+
"iana-time-zone-haiku",
|
|
158
|
+
"js-sys",
|
|
159
|
+
"log",
|
|
160
|
+
"wasm-bindgen",
|
|
161
|
+
"windows-core",
|
|
162
|
+
]
|
|
163
|
+
|
|
164
|
+
[[package]]
|
|
165
|
+
name = "iana-time-zone-haiku"
|
|
166
|
+
version = "0.1.2"
|
|
167
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
168
|
+
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
|
169
|
+
dependencies = [
|
|
170
|
+
"cc",
|
|
171
|
+
]
|
|
172
|
+
|
|
173
|
+
[[package]]
|
|
174
|
+
name = "indoc"
|
|
175
|
+
version = "2.0.7"
|
|
176
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
177
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
178
|
+
dependencies = [
|
|
179
|
+
"rustversion",
|
|
180
|
+
]
|
|
181
|
+
|
|
182
|
+
[[package]]
|
|
183
|
+
name = "itoa"
|
|
184
|
+
version = "1.0.17"
|
|
185
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
186
|
+
checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
|
|
187
|
+
|
|
188
|
+
[[package]]
|
|
189
|
+
name = "js-sys"
|
|
190
|
+
version = "0.3.91"
|
|
191
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
+
checksum = "b49715b7073f385ba4bc528e5747d02e66cb39c6146efb66b781f131f0fb399c"
|
|
193
|
+
dependencies = [
|
|
194
|
+
"once_cell",
|
|
195
|
+
"wasm-bindgen",
|
|
196
|
+
]
|
|
197
|
+
|
|
198
|
+
[[package]]
|
|
199
|
+
name = "libc"
|
|
200
|
+
version = "0.2.182"
|
|
201
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
202
|
+
checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112"
|
|
203
|
+
|
|
204
|
+
[[package]]
|
|
205
|
+
name = "log"
|
|
206
|
+
version = "0.4.29"
|
|
207
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
208
|
+
checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
209
|
+
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "memchr"
|
|
212
|
+
version = "2.8.0"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
|
|
215
|
+
|
|
216
|
+
[[package]]
|
|
217
|
+
name = "memoffset"
|
|
218
|
+
version = "0.9.1"
|
|
219
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
220
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
221
|
+
dependencies = [
|
|
222
|
+
"autocfg",
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
[[package]]
|
|
226
|
+
name = "num-traits"
|
|
227
|
+
version = "0.2.19"
|
|
228
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
229
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
230
|
+
dependencies = [
|
|
231
|
+
"autocfg",
|
|
232
|
+
]
|
|
233
|
+
|
|
234
|
+
[[package]]
|
|
235
|
+
name = "once_cell"
|
|
236
|
+
version = "1.21.3"
|
|
237
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
238
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
239
|
+
|
|
240
|
+
[[package]]
|
|
241
|
+
name = "portable-atomic"
|
|
242
|
+
version = "1.13.1"
|
|
243
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
244
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
245
|
+
|
|
246
|
+
[[package]]
|
|
247
|
+
name = "proc-macro2"
|
|
248
|
+
version = "1.0.106"
|
|
249
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
251
|
+
dependencies = [
|
|
252
|
+
"unicode-ident",
|
|
253
|
+
]
|
|
254
|
+
|
|
255
|
+
[[package]]
|
|
256
|
+
name = "pyo3"
|
|
257
|
+
version = "0.25.1"
|
|
258
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
259
|
+
checksum = "8970a78afe0628a3e3430376fc5fd76b6b45c4d43360ffd6cdd40bdde72b682a"
|
|
260
|
+
dependencies = [
|
|
261
|
+
"indoc",
|
|
262
|
+
"libc",
|
|
263
|
+
"memoffset",
|
|
264
|
+
"once_cell",
|
|
265
|
+
"portable-atomic",
|
|
266
|
+
"pyo3-build-config",
|
|
267
|
+
"pyo3-ffi",
|
|
268
|
+
"pyo3-macros",
|
|
269
|
+
"unindent",
|
|
270
|
+
]
|
|
271
|
+
|
|
272
|
+
[[package]]
|
|
273
|
+
name = "pyo3-build-config"
|
|
274
|
+
version = "0.25.1"
|
|
275
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
276
|
+
checksum = "458eb0c55e7ece017adeba38f2248ff3ac615e53660d7c71a238d7d2a01c7598"
|
|
277
|
+
dependencies = [
|
|
278
|
+
"once_cell",
|
|
279
|
+
"target-lexicon",
|
|
280
|
+
]
|
|
281
|
+
|
|
282
|
+
[[package]]
|
|
283
|
+
name = "pyo3-ffi"
|
|
284
|
+
version = "0.25.1"
|
|
285
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
286
|
+
checksum = "7114fe5457c61b276ab77c5055f206295b812608083644a5c5b2640c3102565c"
|
|
287
|
+
dependencies = [
|
|
288
|
+
"libc",
|
|
289
|
+
"pyo3-build-config",
|
|
290
|
+
]
|
|
291
|
+
|
|
292
|
+
[[package]]
|
|
293
|
+
name = "pyo3-macros"
|
|
294
|
+
version = "0.25.1"
|
|
295
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
296
|
+
checksum = "a8725c0a622b374d6cb051d11a0983786448f7785336139c3c94f5aa6bef7e50"
|
|
297
|
+
dependencies = [
|
|
298
|
+
"proc-macro2",
|
|
299
|
+
"pyo3-macros-backend",
|
|
300
|
+
"quote",
|
|
301
|
+
"syn",
|
|
302
|
+
]
|
|
303
|
+
|
|
304
|
+
[[package]]
|
|
305
|
+
name = "pyo3-macros-backend"
|
|
306
|
+
version = "0.25.1"
|
|
307
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
|
+
checksum = "4109984c22491085343c05b0dbc54ddc405c3cf7b4374fc533f5c3313a572ccc"
|
|
309
|
+
dependencies = [
|
|
310
|
+
"heck",
|
|
311
|
+
"proc-macro2",
|
|
312
|
+
"pyo3-build-config",
|
|
313
|
+
"quote",
|
|
314
|
+
"syn",
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "quote"
|
|
319
|
+
version = "1.0.45"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"proc-macro2",
|
|
324
|
+
]
|
|
325
|
+
|
|
326
|
+
[[package]]
|
|
327
|
+
name = "regex"
|
|
328
|
+
version = "1.12.3"
|
|
329
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
330
|
+
checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
|
|
331
|
+
dependencies = [
|
|
332
|
+
"aho-corasick",
|
|
333
|
+
"memchr",
|
|
334
|
+
"regex-automata",
|
|
335
|
+
"regex-syntax",
|
|
336
|
+
]
|
|
337
|
+
|
|
338
|
+
[[package]]
|
|
339
|
+
name = "regex-automata"
|
|
340
|
+
version = "0.4.14"
|
|
341
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
342
|
+
checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f"
|
|
343
|
+
dependencies = [
|
|
344
|
+
"aho-corasick",
|
|
345
|
+
"memchr",
|
|
346
|
+
"regex-syntax",
|
|
347
|
+
]
|
|
348
|
+
|
|
349
|
+
[[package]]
|
|
350
|
+
name = "regex-syntax"
|
|
351
|
+
version = "0.8.10"
|
|
352
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
353
|
+
checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a"
|
|
354
|
+
|
|
355
|
+
[[package]]
|
|
356
|
+
name = "rustversion"
|
|
357
|
+
version = "1.0.22"
|
|
358
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
359
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
360
|
+
|
|
361
|
+
[[package]]
|
|
362
|
+
name = "serde"
|
|
363
|
+
version = "1.0.228"
|
|
364
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
365
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
366
|
+
dependencies = [
|
|
367
|
+
"serde_core",
|
|
368
|
+
"serde_derive",
|
|
369
|
+
]
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "serde_core"
|
|
373
|
+
version = "1.0.228"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"serde_derive",
|
|
378
|
+
]
|
|
379
|
+
|
|
380
|
+
[[package]]
|
|
381
|
+
name = "serde_derive"
|
|
382
|
+
version = "1.0.228"
|
|
383
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
384
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
385
|
+
dependencies = [
|
|
386
|
+
"proc-macro2",
|
|
387
|
+
"quote",
|
|
388
|
+
"syn",
|
|
389
|
+
]
|
|
390
|
+
|
|
391
|
+
[[package]]
|
|
392
|
+
name = "serde_json"
|
|
393
|
+
version = "1.0.149"
|
|
394
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
395
|
+
checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
|
|
396
|
+
dependencies = [
|
|
397
|
+
"itoa",
|
|
398
|
+
"memchr",
|
|
399
|
+
"serde",
|
|
400
|
+
"serde_core",
|
|
401
|
+
"zmij",
|
|
402
|
+
]
|
|
403
|
+
|
|
404
|
+
[[package]]
|
|
405
|
+
name = "sha2"
|
|
406
|
+
version = "0.10.9"
|
|
407
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
408
|
+
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
409
|
+
dependencies = [
|
|
410
|
+
"cfg-if",
|
|
411
|
+
"cpufeatures",
|
|
412
|
+
"digest",
|
|
413
|
+
]
|
|
414
|
+
|
|
415
|
+
[[package]]
|
|
416
|
+
name = "shlex"
|
|
417
|
+
version = "1.3.0"
|
|
418
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
419
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
420
|
+
|
|
421
|
+
[[package]]
|
|
422
|
+
name = "syn"
|
|
423
|
+
version = "2.0.117"
|
|
424
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
425
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
426
|
+
dependencies = [
|
|
427
|
+
"proc-macro2",
|
|
428
|
+
"quote",
|
|
429
|
+
"unicode-ident",
|
|
430
|
+
]
|
|
431
|
+
|
|
432
|
+
[[package]]
|
|
433
|
+
name = "target-lexicon"
|
|
434
|
+
version = "0.13.5"
|
|
435
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
436
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
437
|
+
|
|
438
|
+
[[package]]
|
|
439
|
+
name = "typenum"
|
|
440
|
+
version = "1.19.0"
|
|
441
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
442
|
+
checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
|
|
443
|
+
|
|
444
|
+
[[package]]
|
|
445
|
+
name = "unicode-ident"
|
|
446
|
+
version = "1.0.24"
|
|
447
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
448
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
449
|
+
|
|
450
|
+
[[package]]
|
|
451
|
+
name = "unindent"
|
|
452
|
+
version = "0.2.4"
|
|
453
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
454
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
455
|
+
|
|
456
|
+
[[package]]
|
|
457
|
+
name = "version_check"
|
|
458
|
+
version = "0.9.5"
|
|
459
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
461
|
+
|
|
462
|
+
[[package]]
|
|
463
|
+
name = "wasm-bindgen"
|
|
464
|
+
version = "0.2.114"
|
|
465
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
466
|
+
checksum = "6532f9a5c1ece3798cb1c2cfdba640b9b3ba884f5db45973a6f442510a87d38e"
|
|
467
|
+
dependencies = [
|
|
468
|
+
"cfg-if",
|
|
469
|
+
"once_cell",
|
|
470
|
+
"rustversion",
|
|
471
|
+
"wasm-bindgen-macro",
|
|
472
|
+
"wasm-bindgen-shared",
|
|
473
|
+
]
|
|
474
|
+
|
|
475
|
+
[[package]]
|
|
476
|
+
name = "wasm-bindgen-macro"
|
|
477
|
+
version = "0.2.114"
|
|
478
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
479
|
+
checksum = "18a2d50fcf105fb33bb15f00e7a77b772945a2ee45dcf454961fd843e74c18e6"
|
|
480
|
+
dependencies = [
|
|
481
|
+
"quote",
|
|
482
|
+
"wasm-bindgen-macro-support",
|
|
483
|
+
]
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "wasm-bindgen-macro-support"
|
|
487
|
+
version = "0.2.114"
|
|
488
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
+
checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3"
|
|
490
|
+
dependencies = [
|
|
491
|
+
"bumpalo",
|
|
492
|
+
"proc-macro2",
|
|
493
|
+
"quote",
|
|
494
|
+
"syn",
|
|
495
|
+
"wasm-bindgen-shared",
|
|
496
|
+
]
|
|
497
|
+
|
|
498
|
+
[[package]]
|
|
499
|
+
name = "wasm-bindgen-shared"
|
|
500
|
+
version = "0.2.114"
|
|
501
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
502
|
+
checksum = "75a326b8c223ee17883a4251907455a2431acc2791c98c26279376490c378c16"
|
|
503
|
+
dependencies = [
|
|
504
|
+
"unicode-ident",
|
|
505
|
+
]
|
|
506
|
+
|
|
507
|
+
[[package]]
|
|
508
|
+
name = "windows-core"
|
|
509
|
+
version = "0.62.2"
|
|
510
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
+
checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
|
|
512
|
+
dependencies = [
|
|
513
|
+
"windows-implement",
|
|
514
|
+
"windows-interface",
|
|
515
|
+
"windows-link",
|
|
516
|
+
"windows-result",
|
|
517
|
+
"windows-strings",
|
|
518
|
+
]
|
|
519
|
+
|
|
520
|
+
[[package]]
|
|
521
|
+
name = "windows-implement"
|
|
522
|
+
version = "0.60.2"
|
|
523
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
524
|
+
checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
|
|
525
|
+
dependencies = [
|
|
526
|
+
"proc-macro2",
|
|
527
|
+
"quote",
|
|
528
|
+
"syn",
|
|
529
|
+
]
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "windows-interface"
|
|
533
|
+
version = "0.59.3"
|
|
534
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
+
checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
|
|
536
|
+
dependencies = [
|
|
537
|
+
"proc-macro2",
|
|
538
|
+
"quote",
|
|
539
|
+
"syn",
|
|
540
|
+
]
|
|
541
|
+
|
|
542
|
+
[[package]]
|
|
543
|
+
name = "windows-link"
|
|
544
|
+
version = "0.2.1"
|
|
545
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
546
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
547
|
+
|
|
548
|
+
[[package]]
|
|
549
|
+
name = "windows-result"
|
|
550
|
+
version = "0.4.1"
|
|
551
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
552
|
+
checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
|
|
553
|
+
dependencies = [
|
|
554
|
+
"windows-link",
|
|
555
|
+
]
|
|
556
|
+
|
|
557
|
+
[[package]]
|
|
558
|
+
name = "windows-strings"
|
|
559
|
+
version = "0.5.1"
|
|
560
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
561
|
+
checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
|
|
562
|
+
dependencies = [
|
|
563
|
+
"windows-link",
|
|
564
|
+
]
|
|
565
|
+
|
|
566
|
+
[[package]]
|
|
567
|
+
name = "zmij"
|
|
568
|
+
version = "1.0.21"
|
|
569
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
570
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
# Copyright © 2025–2026 Stefano Noferi & Admina contributors
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
[package]
|
|
17
|
+
name = "admina_core"
|
|
18
|
+
version = "0.9.0"
|
|
19
|
+
edition = "2021"
|
|
20
|
+
description = "Admina governance engines — Rust core with Python bindings"
|
|
21
|
+
license = "Apache-2.0"
|
|
22
|
+
readme = "README.md"
|
|
23
|
+
|
|
24
|
+
[lib]
|
|
25
|
+
name = "admina_core"
|
|
26
|
+
crate-type = ["cdylib", "rlib"]
|
|
27
|
+
|
|
28
|
+
[dependencies]
|
|
29
|
+
pyo3 = { version = "0.25", features = ["extension-module"] }
|
|
30
|
+
regex = "1.10"
|
|
31
|
+
sha2 = "0.10"
|
|
32
|
+
hex = "0.4"
|
|
33
|
+
serde = { version = "1", features = ["derive"] }
|
|
34
|
+
serde_json = "1"
|
|
35
|
+
chrono = "0.4"
|