protorig 0.2.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.
- protorig-0.2.0/.build.yml +5 -0
- protorig-0.2.0/.builds/linux-x86_64-glibc.yml +30 -0
- protorig-0.2.0/.builds/linux-x86_64-musl.yml +31 -0
- protorig-0.2.0/.builds/windows-x86_64.yml +32 -0
- protorig-0.2.0/.gitignore +72 -0
- protorig-0.2.0/Cargo.lock +494 -0
- protorig-0.2.0/Cargo.toml +16 -0
- protorig-0.2.0/LICENSE +21 -0
- protorig-0.2.0/PKG-INFO +178 -0
- protorig-0.2.0/README.md +164 -0
- protorig-0.2.0/protorig/__init__.py +0 -0
- protorig-0.2.0/protorig/_types.py +72 -0
- protorig-0.2.0/protorig/application.py +93 -0
- protorig-0.2.0/protorig/cookies.py +83 -0
- protorig-0.2.0/protorig/core.pyi +16 -0
- protorig-0.2.0/protorig/depends/__init__.py +9 -0
- protorig-0.2.0/protorig/depends/generation.py +236 -0
- protorig-0.2.0/protorig/depends/solver.py +140 -0
- protorig-0.2.0/protorig/depends/type.py +78 -0
- protorig-0.2.0/protorig/depends/utils.py +105 -0
- protorig-0.2.0/protorig/exceptions.py +18 -0
- protorig-0.2.0/protorig/headers.py +132 -0
- protorig-0.2.0/protorig/request.py +119 -0
- protorig-0.2.0/protorig/responses/__init__.py +141 -0
- protorig-0.2.0/protorig/responses/protocol.py +134 -0
- protorig-0.2.0/protorig/responses/types.py +123 -0
- protorig-0.2.0/protorig/routes.py +92 -0
- protorig-0.2.0/protorig/url.py +66 -0
- protorig-0.2.0/pyproject.toml +30 -0
- protorig-0.2.0/src/lib.rs +12 -0
- protorig-0.2.0/src/router/error.rs +15 -0
- protorig-0.2.0/src/router/node.rs +23 -0
- protorig-0.2.0/src/router/radix.rs +342 -0
- protorig-0.2.0/src/router/tokens.rs +82 -0
- protorig-0.2.0/src/router.rs +46 -0
- protorig-0.2.0/src/url.rs +83 -0
- protorig-0.2.0/test1.py +25 -0
- protorig-0.2.0/uv.lock +216 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
image: debian/stable
|
|
2
|
+
arch: amd64
|
|
3
|
+
packages:
|
|
4
|
+
- curl
|
|
5
|
+
- build-essential
|
|
6
|
+
- rustup
|
|
7
|
+
- patchelf
|
|
8
|
+
sources:
|
|
9
|
+
- https://git.sr.ht/~tompinn23/protorig
|
|
10
|
+
secrets:
|
|
11
|
+
- 2f95f952-58ab-42ec-9937-a42669d5bf9c
|
|
12
|
+
tasks:
|
|
13
|
+
- setup: |
|
|
14
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
15
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
16
|
+
rustup install stable --profile minimal
|
|
17
|
+
uv python install 3.13 3.14
|
|
18
|
+
uv tool install maturin
|
|
19
|
+
- build: |
|
|
20
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
21
|
+
cd protorig
|
|
22
|
+
maturin build --sdist \
|
|
23
|
+
--release \
|
|
24
|
+
--interpreter 3.13 \
|
|
25
|
+
--interpreter 3.14
|
|
26
|
+
- publish: |
|
|
27
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
28
|
+
cd protorig
|
|
29
|
+
set +x
|
|
30
|
+
uv publish -t "$(cat ~/.pypi)" target/wheels/*
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
image: alpine/edge
|
|
2
|
+
arch: x86_64
|
|
3
|
+
packages:
|
|
4
|
+
- curl
|
|
5
|
+
- build-base
|
|
6
|
+
- musl-dev
|
|
7
|
+
- rustup
|
|
8
|
+
- uv
|
|
9
|
+
- patchelf
|
|
10
|
+
sources:
|
|
11
|
+
- https://git.sr.ht/~tompinn23/protorig
|
|
12
|
+
secrets:
|
|
13
|
+
- 2f95f952-58ab-42ec-9937-a42669d5bf9c
|
|
14
|
+
tasks:
|
|
15
|
+
- setup: |
|
|
16
|
+
rustup-init -y --profile minimal
|
|
17
|
+
uv python install 3.13 3.14
|
|
18
|
+
uv tool install maturin
|
|
19
|
+
- build: |
|
|
20
|
+
source "$HOME/.cargo/env"
|
|
21
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
22
|
+
cd protorig
|
|
23
|
+
maturin build --release \
|
|
24
|
+
--interpreter 3.13 \
|
|
25
|
+
--interpreter 3.14
|
|
26
|
+
- publish: |
|
|
27
|
+
source "$HOME/.cargo/env"
|
|
28
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
29
|
+
cd protorig
|
|
30
|
+
set +x
|
|
31
|
+
uv publish -t "$(cat ~/.pypi)" target/wheels/*
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
image: debian/stable
|
|
2
|
+
arch: amd64
|
|
3
|
+
packages:
|
|
4
|
+
- curl
|
|
5
|
+
- build-essential
|
|
6
|
+
- rustup
|
|
7
|
+
- patchelf
|
|
8
|
+
- llvm
|
|
9
|
+
sources:
|
|
10
|
+
- https://git.sr.ht/~tompinn23/protorig
|
|
11
|
+
secrets:
|
|
12
|
+
- 2f95f952-58ab-42ec-9937-a42669d5bf9c
|
|
13
|
+
tasks:
|
|
14
|
+
- setup: |
|
|
15
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
16
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
17
|
+
rustup install stable --profile minimal
|
|
18
|
+
rustup target add x86_64-pc-windows-msvc
|
|
19
|
+
uv python install 3.13 3.14
|
|
20
|
+
uv tool install maturin
|
|
21
|
+
- build: |
|
|
22
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
23
|
+
cd protorig
|
|
24
|
+
maturin build --release \
|
|
25
|
+
--target x86_64-pc-windows-msvc \
|
|
26
|
+
--interpreter 3.13 \
|
|
27
|
+
--interpreter 3.14
|
|
28
|
+
- publish: |
|
|
29
|
+
export PATH="$HOME/.local/bin:$PATH"
|
|
30
|
+
cd protorig
|
|
31
|
+
set +x
|
|
32
|
+
uv publish -t "$(cat ~/.pypi)" target/wheels/*
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/target
|
|
2
|
+
|
|
3
|
+
# Byte-compiled / optimized / DLL files
|
|
4
|
+
__pycache__/
|
|
5
|
+
.pytest_cache/
|
|
6
|
+
*.py[cod]
|
|
7
|
+
|
|
8
|
+
# C extensions
|
|
9
|
+
*.so
|
|
10
|
+
|
|
11
|
+
# Distribution / packaging
|
|
12
|
+
.Python
|
|
13
|
+
.venv/
|
|
14
|
+
env/
|
|
15
|
+
bin/
|
|
16
|
+
build/
|
|
17
|
+
develop-eggs/
|
|
18
|
+
dist/
|
|
19
|
+
eggs/
|
|
20
|
+
lib/
|
|
21
|
+
lib64/
|
|
22
|
+
parts/
|
|
23
|
+
sdist/
|
|
24
|
+
var/
|
|
25
|
+
include/
|
|
26
|
+
man/
|
|
27
|
+
venv/
|
|
28
|
+
*.egg-info/
|
|
29
|
+
.installed.cfg
|
|
30
|
+
*.egg
|
|
31
|
+
|
|
32
|
+
# Installer logs
|
|
33
|
+
pip-log.txt
|
|
34
|
+
pip-delete-this-directory.txt
|
|
35
|
+
pip-selfcheck.json
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.coverage
|
|
41
|
+
.cache
|
|
42
|
+
nosetests.xml
|
|
43
|
+
coverage.xml
|
|
44
|
+
|
|
45
|
+
# Translations
|
|
46
|
+
*.mo
|
|
47
|
+
|
|
48
|
+
# Mr Developer
|
|
49
|
+
.mr.developer.cfg
|
|
50
|
+
.project
|
|
51
|
+
.pydevproject
|
|
52
|
+
|
|
53
|
+
# Rope
|
|
54
|
+
.ropeproject
|
|
55
|
+
|
|
56
|
+
# Django stuff:
|
|
57
|
+
*.log
|
|
58
|
+
*.pot
|
|
59
|
+
|
|
60
|
+
.DS_Store
|
|
61
|
+
|
|
62
|
+
# Sphinx documentation
|
|
63
|
+
docs/_build/
|
|
64
|
+
|
|
65
|
+
# PyCharm
|
|
66
|
+
.idea/
|
|
67
|
+
|
|
68
|
+
# VSCode
|
|
69
|
+
.vscode/
|
|
70
|
+
|
|
71
|
+
# Pyenv
|
|
72
|
+
.python-version
|
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "cc"
|
|
7
|
+
version = "1.2.62"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "a1dce859f0832a7d088c4f1119888ab94ef4b5d6795d1ce05afb7fe159d79f98"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"find-msvc-tools",
|
|
12
|
+
"shlex",
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
[[package]]
|
|
16
|
+
name = "displaydoc"
|
|
17
|
+
version = "0.2.5"
|
|
18
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
19
|
+
checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
|
|
20
|
+
dependencies = [
|
|
21
|
+
"proc-macro2",
|
|
22
|
+
"quote",
|
|
23
|
+
"syn",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "find-msvc-tools"
|
|
28
|
+
version = "0.1.9"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "form_urlencoded"
|
|
34
|
+
version = "1.2.2"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"percent-encoding",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "heck"
|
|
43
|
+
version = "0.5.0"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
46
|
+
|
|
47
|
+
[[package]]
|
|
48
|
+
name = "icu_collections"
|
|
49
|
+
version = "2.2.0"
|
|
50
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
51
|
+
checksum = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c"
|
|
52
|
+
dependencies = [
|
|
53
|
+
"displaydoc",
|
|
54
|
+
"potential_utf",
|
|
55
|
+
"utf8_iter",
|
|
56
|
+
"yoke",
|
|
57
|
+
"zerofrom",
|
|
58
|
+
"zerovec",
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "icu_locale_core"
|
|
63
|
+
version = "2.2.0"
|
|
64
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
+
checksum = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29"
|
|
66
|
+
dependencies = [
|
|
67
|
+
"displaydoc",
|
|
68
|
+
"litemap",
|
|
69
|
+
"tinystr",
|
|
70
|
+
"writeable",
|
|
71
|
+
"zerovec",
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
[[package]]
|
|
75
|
+
name = "icu_normalizer"
|
|
76
|
+
version = "2.2.0"
|
|
77
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
78
|
+
checksum = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4"
|
|
79
|
+
dependencies = [
|
|
80
|
+
"icu_collections",
|
|
81
|
+
"icu_normalizer_data",
|
|
82
|
+
"icu_properties",
|
|
83
|
+
"icu_provider",
|
|
84
|
+
"smallvec",
|
|
85
|
+
"zerovec",
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
[[package]]
|
|
89
|
+
name = "icu_normalizer_data"
|
|
90
|
+
version = "2.2.0"
|
|
91
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
+
checksum = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38"
|
|
93
|
+
|
|
94
|
+
[[package]]
|
|
95
|
+
name = "icu_properties"
|
|
96
|
+
version = "2.2.0"
|
|
97
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
98
|
+
checksum = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de"
|
|
99
|
+
dependencies = [
|
|
100
|
+
"icu_collections",
|
|
101
|
+
"icu_locale_core",
|
|
102
|
+
"icu_properties_data",
|
|
103
|
+
"icu_provider",
|
|
104
|
+
"zerotrie",
|
|
105
|
+
"zerovec",
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
[[package]]
|
|
109
|
+
name = "icu_properties_data"
|
|
110
|
+
version = "2.2.0"
|
|
111
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
112
|
+
checksum = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14"
|
|
113
|
+
|
|
114
|
+
[[package]]
|
|
115
|
+
name = "icu_provider"
|
|
116
|
+
version = "2.2.0"
|
|
117
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
118
|
+
checksum = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421"
|
|
119
|
+
dependencies = [
|
|
120
|
+
"displaydoc",
|
|
121
|
+
"icu_locale_core",
|
|
122
|
+
"writeable",
|
|
123
|
+
"yoke",
|
|
124
|
+
"zerofrom",
|
|
125
|
+
"zerotrie",
|
|
126
|
+
"zerovec",
|
|
127
|
+
]
|
|
128
|
+
|
|
129
|
+
[[package]]
|
|
130
|
+
name = "idna"
|
|
131
|
+
version = "1.1.0"
|
|
132
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
133
|
+
checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
|
|
134
|
+
dependencies = [
|
|
135
|
+
"idna_adapter",
|
|
136
|
+
"smallvec",
|
|
137
|
+
"utf8_iter",
|
|
138
|
+
]
|
|
139
|
+
|
|
140
|
+
[[package]]
|
|
141
|
+
name = "idna_adapter"
|
|
142
|
+
version = "1.2.2"
|
|
143
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
144
|
+
checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
|
|
145
|
+
dependencies = [
|
|
146
|
+
"icu_normalizer",
|
|
147
|
+
"icu_properties",
|
|
148
|
+
]
|
|
149
|
+
|
|
150
|
+
[[package]]
|
|
151
|
+
name = "libc"
|
|
152
|
+
version = "0.2.186"
|
|
153
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
154
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
155
|
+
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "litemap"
|
|
158
|
+
version = "0.8.2"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0"
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "once_cell"
|
|
164
|
+
version = "1.21.4"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
167
|
+
|
|
168
|
+
[[package]]
|
|
169
|
+
name = "percent-encoding"
|
|
170
|
+
version = "2.3.2"
|
|
171
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
172
|
+
checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
|
|
173
|
+
|
|
174
|
+
[[package]]
|
|
175
|
+
name = "portable-atomic"
|
|
176
|
+
version = "1.13.1"
|
|
177
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
178
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "potential_utf"
|
|
182
|
+
version = "0.1.5"
|
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
+
checksum = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564"
|
|
185
|
+
dependencies = [
|
|
186
|
+
"zerovec",
|
|
187
|
+
]
|
|
188
|
+
|
|
189
|
+
[[package]]
|
|
190
|
+
name = "proc-macro2"
|
|
191
|
+
version = "1.0.106"
|
|
192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
194
|
+
dependencies = [
|
|
195
|
+
"unicode-ident",
|
|
196
|
+
]
|
|
197
|
+
|
|
198
|
+
[[package]]
|
|
199
|
+
name = "protorig"
|
|
200
|
+
version = "0.2.0"
|
|
201
|
+
dependencies = [
|
|
202
|
+
"pyo3",
|
|
203
|
+
"thiserror",
|
|
204
|
+
"url",
|
|
205
|
+
]
|
|
206
|
+
|
|
207
|
+
[[package]]
|
|
208
|
+
name = "pyo3"
|
|
209
|
+
version = "0.28.3"
|
|
210
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
211
|
+
checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
|
|
212
|
+
dependencies = [
|
|
213
|
+
"libc",
|
|
214
|
+
"once_cell",
|
|
215
|
+
"portable-atomic",
|
|
216
|
+
"pyo3-build-config",
|
|
217
|
+
"pyo3-ffi",
|
|
218
|
+
"pyo3-macros",
|
|
219
|
+
]
|
|
220
|
+
|
|
221
|
+
[[package]]
|
|
222
|
+
name = "pyo3-build-config"
|
|
223
|
+
version = "0.28.3"
|
|
224
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
225
|
+
checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
|
|
226
|
+
dependencies = [
|
|
227
|
+
"python3-dll-a",
|
|
228
|
+
"target-lexicon",
|
|
229
|
+
]
|
|
230
|
+
|
|
231
|
+
[[package]]
|
|
232
|
+
name = "pyo3-ffi"
|
|
233
|
+
version = "0.28.3"
|
|
234
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
235
|
+
checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
|
|
236
|
+
dependencies = [
|
|
237
|
+
"libc",
|
|
238
|
+
"pyo3-build-config",
|
|
239
|
+
]
|
|
240
|
+
|
|
241
|
+
[[package]]
|
|
242
|
+
name = "pyo3-macros"
|
|
243
|
+
version = "0.28.3"
|
|
244
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
+
checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
|
|
246
|
+
dependencies = [
|
|
247
|
+
"proc-macro2",
|
|
248
|
+
"pyo3-macros-backend",
|
|
249
|
+
"quote",
|
|
250
|
+
"syn",
|
|
251
|
+
]
|
|
252
|
+
|
|
253
|
+
[[package]]
|
|
254
|
+
name = "pyo3-macros-backend"
|
|
255
|
+
version = "0.28.3"
|
|
256
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
257
|
+
checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
|
|
258
|
+
dependencies = [
|
|
259
|
+
"heck",
|
|
260
|
+
"proc-macro2",
|
|
261
|
+
"pyo3-build-config",
|
|
262
|
+
"quote",
|
|
263
|
+
"syn",
|
|
264
|
+
]
|
|
265
|
+
|
|
266
|
+
[[package]]
|
|
267
|
+
name = "python3-dll-a"
|
|
268
|
+
version = "0.2.15"
|
|
269
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
270
|
+
checksum = "d80ba7540edb18890d444c5aa8e1f1f99b1bdf26fb26ae383135325f4a36042b"
|
|
271
|
+
dependencies = [
|
|
272
|
+
"cc",
|
|
273
|
+
]
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "quote"
|
|
277
|
+
version = "1.0.45"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
280
|
+
dependencies = [
|
|
281
|
+
"proc-macro2",
|
|
282
|
+
]
|
|
283
|
+
|
|
284
|
+
[[package]]
|
|
285
|
+
name = "serde"
|
|
286
|
+
version = "1.0.228"
|
|
287
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
288
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
289
|
+
dependencies = [
|
|
290
|
+
"serde_core",
|
|
291
|
+
]
|
|
292
|
+
|
|
293
|
+
[[package]]
|
|
294
|
+
name = "serde_core"
|
|
295
|
+
version = "1.0.228"
|
|
296
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
297
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
298
|
+
dependencies = [
|
|
299
|
+
"serde_derive",
|
|
300
|
+
]
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "serde_derive"
|
|
304
|
+
version = "1.0.228"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
307
|
+
dependencies = [
|
|
308
|
+
"proc-macro2",
|
|
309
|
+
"quote",
|
|
310
|
+
"syn",
|
|
311
|
+
]
|
|
312
|
+
|
|
313
|
+
[[package]]
|
|
314
|
+
name = "shlex"
|
|
315
|
+
version = "1.3.0"
|
|
316
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
318
|
+
|
|
319
|
+
[[package]]
|
|
320
|
+
name = "smallvec"
|
|
321
|
+
version = "1.15.1"
|
|
322
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
323
|
+
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
324
|
+
|
|
325
|
+
[[package]]
|
|
326
|
+
name = "stable_deref_trait"
|
|
327
|
+
version = "1.2.1"
|
|
328
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
329
|
+
checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
|
|
330
|
+
|
|
331
|
+
[[package]]
|
|
332
|
+
name = "syn"
|
|
333
|
+
version = "2.0.117"
|
|
334
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
335
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
336
|
+
dependencies = [
|
|
337
|
+
"proc-macro2",
|
|
338
|
+
"quote",
|
|
339
|
+
"unicode-ident",
|
|
340
|
+
]
|
|
341
|
+
|
|
342
|
+
[[package]]
|
|
343
|
+
name = "synstructure"
|
|
344
|
+
version = "0.13.2"
|
|
345
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
346
|
+
checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
|
|
347
|
+
dependencies = [
|
|
348
|
+
"proc-macro2",
|
|
349
|
+
"quote",
|
|
350
|
+
"syn",
|
|
351
|
+
]
|
|
352
|
+
|
|
353
|
+
[[package]]
|
|
354
|
+
name = "target-lexicon"
|
|
355
|
+
version = "0.13.5"
|
|
356
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
357
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
358
|
+
|
|
359
|
+
[[package]]
|
|
360
|
+
name = "thiserror"
|
|
361
|
+
version = "2.0.18"
|
|
362
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
363
|
+
checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
|
|
364
|
+
dependencies = [
|
|
365
|
+
"thiserror-impl",
|
|
366
|
+
]
|
|
367
|
+
|
|
368
|
+
[[package]]
|
|
369
|
+
name = "thiserror-impl"
|
|
370
|
+
version = "2.0.18"
|
|
371
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
372
|
+
checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
|
|
373
|
+
dependencies = [
|
|
374
|
+
"proc-macro2",
|
|
375
|
+
"quote",
|
|
376
|
+
"syn",
|
|
377
|
+
]
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "tinystr"
|
|
381
|
+
version = "0.8.3"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d"
|
|
384
|
+
dependencies = [
|
|
385
|
+
"displaydoc",
|
|
386
|
+
"zerovec",
|
|
387
|
+
]
|
|
388
|
+
|
|
389
|
+
[[package]]
|
|
390
|
+
name = "unicode-ident"
|
|
391
|
+
version = "1.0.24"
|
|
392
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
393
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
394
|
+
|
|
395
|
+
[[package]]
|
|
396
|
+
name = "url"
|
|
397
|
+
version = "2.5.8"
|
|
398
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
399
|
+
checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
|
|
400
|
+
dependencies = [
|
|
401
|
+
"form_urlencoded",
|
|
402
|
+
"idna",
|
|
403
|
+
"percent-encoding",
|
|
404
|
+
"serde",
|
|
405
|
+
]
|
|
406
|
+
|
|
407
|
+
[[package]]
|
|
408
|
+
name = "utf8_iter"
|
|
409
|
+
version = "1.0.4"
|
|
410
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
+
checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
|
|
412
|
+
|
|
413
|
+
[[package]]
|
|
414
|
+
name = "writeable"
|
|
415
|
+
version = "0.6.3"
|
|
416
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
+
checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
|
|
418
|
+
|
|
419
|
+
[[package]]
|
|
420
|
+
name = "yoke"
|
|
421
|
+
version = "0.8.2"
|
|
422
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
+
checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca"
|
|
424
|
+
dependencies = [
|
|
425
|
+
"stable_deref_trait",
|
|
426
|
+
"yoke-derive",
|
|
427
|
+
"zerofrom",
|
|
428
|
+
]
|
|
429
|
+
|
|
430
|
+
[[package]]
|
|
431
|
+
name = "yoke-derive"
|
|
432
|
+
version = "0.8.2"
|
|
433
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
434
|
+
checksum = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
|
|
435
|
+
dependencies = [
|
|
436
|
+
"proc-macro2",
|
|
437
|
+
"quote",
|
|
438
|
+
"syn",
|
|
439
|
+
"synstructure",
|
|
440
|
+
]
|
|
441
|
+
|
|
442
|
+
[[package]]
|
|
443
|
+
name = "zerofrom"
|
|
444
|
+
version = "0.1.8"
|
|
445
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
446
|
+
checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
|
|
447
|
+
dependencies = [
|
|
448
|
+
"zerofrom-derive",
|
|
449
|
+
]
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "zerofrom-derive"
|
|
453
|
+
version = "0.1.7"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
|
|
456
|
+
dependencies = [
|
|
457
|
+
"proc-macro2",
|
|
458
|
+
"quote",
|
|
459
|
+
"syn",
|
|
460
|
+
"synstructure",
|
|
461
|
+
]
|
|
462
|
+
|
|
463
|
+
[[package]]
|
|
464
|
+
name = "zerotrie"
|
|
465
|
+
version = "0.2.4"
|
|
466
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
467
|
+
checksum = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf"
|
|
468
|
+
dependencies = [
|
|
469
|
+
"displaydoc",
|
|
470
|
+
"yoke",
|
|
471
|
+
"zerofrom",
|
|
472
|
+
]
|
|
473
|
+
|
|
474
|
+
[[package]]
|
|
475
|
+
name = "zerovec"
|
|
476
|
+
version = "0.11.6"
|
|
477
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
478
|
+
checksum = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239"
|
|
479
|
+
dependencies = [
|
|
480
|
+
"yoke",
|
|
481
|
+
"zerofrom",
|
|
482
|
+
"zerovec-derive",
|
|
483
|
+
]
|
|
484
|
+
|
|
485
|
+
[[package]]
|
|
486
|
+
name = "zerovec-derive"
|
|
487
|
+
version = "0.11.3"
|
|
488
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
+
checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
|
|
490
|
+
dependencies = [
|
|
491
|
+
"proc-macro2",
|
|
492
|
+
"quote",
|
|
493
|
+
"syn",
|
|
494
|
+
]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "protorig"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
edition = "2024"
|
|
5
|
+
license = "BSD-3-Clause"
|
|
6
|
+
readme = "README.md"
|
|
7
|
+
|
|
8
|
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
9
|
+
[lib]
|
|
10
|
+
name = "core"
|
|
11
|
+
crate-type = ["cdylib"]
|
|
12
|
+
|
|
13
|
+
[dependencies]
|
|
14
|
+
pyo3 = { version = "0.28.3", features = ["generate-import-lib"] }
|
|
15
|
+
url = "2.5.8"
|
|
16
|
+
thiserror = "2.0.18"
|
protorig-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Copyright 2026 <Tom Pinnock>
|
|
2
|
+
|
|
3
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
4
|
+
are permitted provided that the following conditions are met:
|
|
5
|
+
|
|
6
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
7
|
+
this list of conditions and the following disclaimer.
|
|
8
|
+
|
|
9
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
10
|
+
this list of conditions and the following disclaimer in the documentation
|
|
11
|
+
and/or other materials provided with the distribution.
|
|
12
|
+
|
|
13
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
14
|
+
may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
15
|
+
|
|
16
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
17
|
+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
18
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
19
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
20
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
21
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|