pygrpc-native 0.7.2__tar.gz → 0.8.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.
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/CHANGELOG.md +24 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/Cargo.lock +450 -4
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/Cargo.toml +5 -1
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/PKG-INFO +35 -9
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/README.md +34 -8
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/SECURITY.md +2 -2
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/docs/low-level-api.md +23 -1
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/python/pygrpc_native/__init__.py +5 -2
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/python/pygrpc_native/_native.pyi +10 -1
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/python/pygrpc_native/_server.py +129 -38
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/python/pygrpc_native/aio.py +45 -39
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/lib.rs +101 -28
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server/calls.rs +5 -5
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server/connection.rs +3 -3
- pygrpc_native-0.8.0/src/server/listener.rs +147 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server/stream.rs +4 -4
- pygrpc_native-0.8.0/src/server/tls.rs +219 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server.rs +10 -2
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_aio.py +96 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_response_metadata.py +21 -1
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_server.py +65 -0
- pygrpc_native-0.8.0/tests/test_tls.py +219 -0
- pygrpc_native-0.8.0/tests/tls_certs/bmp.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/bmp.pem +11 -0
- pygrpc_native-0.8.0/tests/tls_certs/ca.pem +10 -0
- pygrpc_native-0.8.0/tests/tls_certs/chained.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/chained.pem +22 -0
- pygrpc_native-0.8.0/tests/tls_certs/client.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/client.pem +11 -0
- pygrpc_native-0.8.0/tests/tls_certs/multi.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/multi.pem +11 -0
- pygrpc_native-0.8.0/tests/tls_certs/other.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/other.pem +11 -0
- pygrpc_native-0.8.0/tests/tls_certs/san.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/san.pem +18 -0
- pygrpc_native-0.8.0/tests/tls_certs/server.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/server.pem +11 -0
- pygrpc_native-0.8.0/tests/tls_certs/uris.key +5 -0
- pygrpc_native-0.8.0/tests/tls_certs/uris.pem +12 -0
- pygrpc_native-0.7.2/src/server/listener.rs +0 -84
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/CODEOWNERS +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/dependabot.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/scripts/perf_comment.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/workflows/ci.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/workflows/dco.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/workflows/perf-comment.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/workflows/perf.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/workflows/release.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.github/workflows/stale.yml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.gitignore +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/.pre-commit-config.yaml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/CODE_OF_CONDUCT.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/CONTRIBUTING.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/DCO +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/LICENSE +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/benchmarks/README.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/benchmarks/echo.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/benchmarks/regress.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/examples/README.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/examples/__init__.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/examples/aio_server.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/examples/client.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/examples/sync_server.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/_protos.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/expected_diffs.toml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/protos/src/proto/grpc/testing/empty.proto +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/protos/src/proto/grpc/testing/messages.proto +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/protos/src/proto/grpc/testing/test.proto +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/python_client.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/run.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/server.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/interop/service.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/pyproject.toml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/python/pygrpc_native/py.typed +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/metrics.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server/auth.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server/codec.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server/fallback.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/src/server/order.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_add_methods.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_api.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_bearer_auth.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_call_details.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_calls.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_concurrency_limit.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_connection.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_delay_stream_headers.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_downstream.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_examples.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_fallback.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_front.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_generic_methods.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_interceptors.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_metrics.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/tests/test_stream_try_send.py +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/CHANGELOG.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/Cargo.toml +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/LICENSE-APACHE +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/LICENSE-MIT +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/README.md +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/byte_str.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/convert.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/error.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/extensions.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/header/map.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/header/mod.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/header/name.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/header/value.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/lib.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/method.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/request.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/response.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/status.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/uri/authority.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/uri/builder.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/uri/mod.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/uri/path.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/uri/port.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/uri/scheme.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/uri/tests.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/src/version.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/tests/header_map.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/tests/header_map_fuzz.rs +0 -0
- {pygrpc_native-0.7.2 → pygrpc_native-0.8.0}/vendor/http/tests/status_code.rs +0 -0
|
@@ -4,6 +4,30 @@ All notable changes are listed here. The project follows
|
|
|
4
4
|
[semantic versioning](https://semver.org); see
|
|
5
5
|
[Compatibility](README.md#compatibility) for what that covers.
|
|
6
6
|
|
|
7
|
+
## 0.8.0 (2026-11-04)
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `add_secure_port()` works on `server()` and `aio.server()`, with credentials
|
|
12
|
+
from the new `pygrpc_native.ssl_server_credentials()`, and `NativeGrpcFront`
|
|
13
|
+
takes a `tls` argument. Building from the sdist now needs a C compiler. (#134)
|
|
14
|
+
- `auth_context()`, `peer_identities()` and `peer_identity_key()` show the
|
|
15
|
+
client's certificate, as in grpcio. `NativeGrpcFront` users get a `PeerAuth`
|
|
16
|
+
in the call details. (#136)
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- ASCII `bytes` values on keys that don't end in `-bin` are accepted and sent
|
|
21
|
+
as text, as in grpcio. (#126)
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- A response with invalid metadata now fails the call with `INTERNAL` instead
|
|
26
|
+
of leaving the client hanging. (#126)
|
|
27
|
+
- `aio.server()` raises `grpc.aio.UsageError` where grpc.aio does: on a second
|
|
28
|
+
`send_initial_metadata()` and on `start()` after `stop()`. `start()` on a
|
|
29
|
+
running server now does nothing. (#129)
|
|
30
|
+
|
|
7
31
|
## 0.7.2 (2026-11-03)
|
|
8
32
|
|
|
9
33
|
### Changed
|
|
@@ -17,12 +17,57 @@ dependencies = [
|
|
|
17
17
|
"rustversion",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "asn1-rs"
|
|
22
|
+
version = "0.7.2"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "b7f43a50ac4fdca5df8e885c21b835997f0a1cdee65494a6847694a98652d9d8"
|
|
25
|
+
dependencies = [
|
|
26
|
+
"asn1-rs-derive",
|
|
27
|
+
"asn1-rs-impl",
|
|
28
|
+
"displaydoc",
|
|
29
|
+
"nom",
|
|
30
|
+
"num-traits",
|
|
31
|
+
"rusticata-macros",
|
|
32
|
+
"thiserror",
|
|
33
|
+
"time",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[[package]]
|
|
37
|
+
name = "asn1-rs-derive"
|
|
38
|
+
version = "0.6.0"
|
|
39
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
+
checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c"
|
|
41
|
+
dependencies = [
|
|
42
|
+
"proc-macro2",
|
|
43
|
+
"quote",
|
|
44
|
+
"syn 2.0.119",
|
|
45
|
+
"synstructure",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[[package]]
|
|
49
|
+
name = "asn1-rs-impl"
|
|
50
|
+
version = "0.2.0"
|
|
51
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
52
|
+
checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7"
|
|
53
|
+
dependencies = [
|
|
54
|
+
"proc-macro2",
|
|
55
|
+
"quote",
|
|
56
|
+
"syn 2.0.119",
|
|
57
|
+
]
|
|
58
|
+
|
|
20
59
|
[[package]]
|
|
21
60
|
name = "atomic-waker"
|
|
22
61
|
version = "1.1.2"
|
|
23
62
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
63
|
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
|
|
25
64
|
|
|
65
|
+
[[package]]
|
|
66
|
+
name = "autocfg"
|
|
67
|
+
version = "1.5.1"
|
|
68
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
+
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
70
|
+
|
|
26
71
|
[[package]]
|
|
27
72
|
name = "base64"
|
|
28
73
|
version = "0.22.1"
|
|
@@ -44,6 +89,16 @@ version = "1.12.1"
|
|
|
44
89
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
90
|
checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
|
|
46
91
|
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "cc"
|
|
94
|
+
version = "1.11.0"
|
|
95
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
+
checksum = "375989decec1a0fa424442bed520fa12ede43a48475ce8c7417d2c69b32b5f6b"
|
|
97
|
+
dependencies = [
|
|
98
|
+
"find-msvc-tools",
|
|
99
|
+
"shlex",
|
|
100
|
+
]
|
|
101
|
+
|
|
47
102
|
[[package]]
|
|
48
103
|
name = "cfg-if"
|
|
49
104
|
version = "1.0.5"
|
|
@@ -98,6 +153,32 @@ dependencies = [
|
|
|
98
153
|
"hybrid-array",
|
|
99
154
|
]
|
|
100
155
|
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "data-encoding"
|
|
158
|
+
version = "2.11.1"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "der-parser"
|
|
164
|
+
version = "10.0.0"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6"
|
|
167
|
+
dependencies = [
|
|
168
|
+
"asn1-rs",
|
|
169
|
+
"displaydoc",
|
|
170
|
+
"nom",
|
|
171
|
+
"num-bigint",
|
|
172
|
+
"num-traits",
|
|
173
|
+
"rusticata-macros",
|
|
174
|
+
]
|
|
175
|
+
|
|
176
|
+
[[package]]
|
|
177
|
+
name = "deranged"
|
|
178
|
+
version = "0.5.9"
|
|
179
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
180
|
+
checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"
|
|
181
|
+
|
|
101
182
|
[[package]]
|
|
102
183
|
name = "digest"
|
|
103
184
|
version = "0.11.3"
|
|
@@ -109,12 +190,29 @@ dependencies = [
|
|
|
109
190
|
"crypto-common",
|
|
110
191
|
]
|
|
111
192
|
|
|
193
|
+
[[package]]
|
|
194
|
+
name = "displaydoc"
|
|
195
|
+
version = "0.2.7"
|
|
196
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
197
|
+
checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
198
|
+
dependencies = [
|
|
199
|
+
"proc-macro2",
|
|
200
|
+
"quote",
|
|
201
|
+
"syn 3.0.9",
|
|
202
|
+
]
|
|
203
|
+
|
|
112
204
|
[[package]]
|
|
113
205
|
name = "equivalent"
|
|
114
206
|
version = "1.0.3"
|
|
115
207
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
116
208
|
checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
117
209
|
|
|
210
|
+
[[package]]
|
|
211
|
+
name = "find-msvc-tools"
|
|
212
|
+
version = "0.1.15"
|
|
213
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
214
|
+
checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
|
|
215
|
+
|
|
118
216
|
[[package]]
|
|
119
217
|
name = "flate2"
|
|
120
218
|
version = "1.1.10"
|
|
@@ -171,6 +269,17 @@ dependencies = [
|
|
|
171
269
|
"slab",
|
|
172
270
|
]
|
|
173
271
|
|
|
272
|
+
[[package]]
|
|
273
|
+
name = "getrandom"
|
|
274
|
+
version = "0.2.17"
|
|
275
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
276
|
+
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
|
|
277
|
+
dependencies = [
|
|
278
|
+
"cfg-if",
|
|
279
|
+
"libc",
|
|
280
|
+
"wasi",
|
|
281
|
+
]
|
|
282
|
+
|
|
174
283
|
[[package]]
|
|
175
284
|
name = "h2"
|
|
176
285
|
version = "0.4.20"
|
|
@@ -307,6 +416,12 @@ version = "1.0.18"
|
|
|
307
416
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
308
417
|
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
309
418
|
|
|
419
|
+
[[package]]
|
|
420
|
+
name = "lazy_static"
|
|
421
|
+
version = "1.5.1"
|
|
422
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
+
checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
|
|
424
|
+
|
|
310
425
|
[[package]]
|
|
311
426
|
name = "libc"
|
|
312
427
|
version = "0.2.191"
|
|
@@ -319,6 +434,18 @@ version = "0.4.34"
|
|
|
319
434
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
320
435
|
checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
|
|
321
436
|
|
|
437
|
+
[[package]]
|
|
438
|
+
name = "memchr"
|
|
439
|
+
version = "2.8.3"
|
|
440
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
441
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
442
|
+
|
|
443
|
+
[[package]]
|
|
444
|
+
name = "minimal-lexical"
|
|
445
|
+
version = "0.2.1"
|
|
446
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
+
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
448
|
+
|
|
322
449
|
[[package]]
|
|
323
450
|
name = "miniz_oxide"
|
|
324
451
|
version = "0.9.1"
|
|
@@ -337,7 +464,60 @@ checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
|
|
|
337
464
|
dependencies = [
|
|
338
465
|
"libc",
|
|
339
466
|
"wasi",
|
|
340
|
-
"windows-sys",
|
|
467
|
+
"windows-sys 0.61.2",
|
|
468
|
+
]
|
|
469
|
+
|
|
470
|
+
[[package]]
|
|
471
|
+
name = "nom"
|
|
472
|
+
version = "7.1.3"
|
|
473
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
474
|
+
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
|
475
|
+
dependencies = [
|
|
476
|
+
"memchr",
|
|
477
|
+
"minimal-lexical",
|
|
478
|
+
]
|
|
479
|
+
|
|
480
|
+
[[package]]
|
|
481
|
+
name = "num-bigint"
|
|
482
|
+
version = "0.4.8"
|
|
483
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
484
|
+
checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
|
|
485
|
+
dependencies = [
|
|
486
|
+
"num-integer",
|
|
487
|
+
"num-traits",
|
|
488
|
+
]
|
|
489
|
+
|
|
490
|
+
[[package]]
|
|
491
|
+
name = "num-conv"
|
|
492
|
+
version = "0.2.2"
|
|
493
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
494
|
+
checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
|
|
495
|
+
|
|
496
|
+
[[package]]
|
|
497
|
+
name = "num-integer"
|
|
498
|
+
version = "0.1.47"
|
|
499
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
500
|
+
checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
|
|
501
|
+
dependencies = [
|
|
502
|
+
"num-traits",
|
|
503
|
+
]
|
|
504
|
+
|
|
505
|
+
[[package]]
|
|
506
|
+
name = "num-traits"
|
|
507
|
+
version = "0.2.19"
|
|
508
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
509
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
510
|
+
dependencies = [
|
|
511
|
+
"autocfg",
|
|
512
|
+
]
|
|
513
|
+
|
|
514
|
+
[[package]]
|
|
515
|
+
name = "oid-registry"
|
|
516
|
+
version = "0.8.1"
|
|
517
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
518
|
+
checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7"
|
|
519
|
+
dependencies = [
|
|
520
|
+
"asn1-rs",
|
|
341
521
|
]
|
|
342
522
|
|
|
343
523
|
[[package]]
|
|
@@ -384,6 +564,12 @@ version = "1.15.0"
|
|
|
384
564
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
385
565
|
checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
386
566
|
|
|
567
|
+
[[package]]
|
|
568
|
+
name = "powerfmt"
|
|
569
|
+
version = "0.2.1"
|
|
570
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
571
|
+
checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958"
|
|
572
|
+
|
|
387
573
|
[[package]]
|
|
388
574
|
name = "proc-macro2"
|
|
389
575
|
version = "1.0.107"
|
|
@@ -395,8 +581,9 @@ dependencies = [
|
|
|
395
581
|
|
|
396
582
|
[[package]]
|
|
397
583
|
name = "pygrpc_native"
|
|
398
|
-
version = "0.
|
|
584
|
+
version = "0.8.0"
|
|
399
585
|
dependencies = [
|
|
586
|
+
"base64",
|
|
400
587
|
"bytes",
|
|
401
588
|
"crossbeam-channel",
|
|
402
589
|
"futures-core",
|
|
@@ -408,11 +595,14 @@ dependencies = [
|
|
|
408
595
|
"log",
|
|
409
596
|
"pyo3",
|
|
410
597
|
"pyo3-log",
|
|
598
|
+
"rustls",
|
|
411
599
|
"sha2",
|
|
412
600
|
"socket2",
|
|
413
601
|
"subtle",
|
|
414
602
|
"tokio",
|
|
603
|
+
"tokio-rustls",
|
|
415
604
|
"tonic",
|
|
605
|
+
"x509-parser",
|
|
416
606
|
]
|
|
417
607
|
|
|
418
608
|
[[package]]
|
|
@@ -492,12 +682,89 @@ dependencies = [
|
|
|
492
682
|
"proc-macro2",
|
|
493
683
|
]
|
|
494
684
|
|
|
685
|
+
[[package]]
|
|
686
|
+
name = "ring"
|
|
687
|
+
version = "0.17.14"
|
|
688
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
689
|
+
checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
|
|
690
|
+
dependencies = [
|
|
691
|
+
"cc",
|
|
692
|
+
"cfg-if",
|
|
693
|
+
"getrandom",
|
|
694
|
+
"libc",
|
|
695
|
+
"untrusted",
|
|
696
|
+
"windows-sys 0.52.0",
|
|
697
|
+
]
|
|
698
|
+
|
|
699
|
+
[[package]]
|
|
700
|
+
name = "rusticata-macros"
|
|
701
|
+
version = "4.1.0"
|
|
702
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
703
|
+
checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632"
|
|
704
|
+
dependencies = [
|
|
705
|
+
"nom",
|
|
706
|
+
]
|
|
707
|
+
|
|
708
|
+
[[package]]
|
|
709
|
+
name = "rustls"
|
|
710
|
+
version = "0.23.46"
|
|
711
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
712
|
+
checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf"
|
|
713
|
+
dependencies = [
|
|
714
|
+
"once_cell",
|
|
715
|
+
"ring",
|
|
716
|
+
"rustls-pki-types",
|
|
717
|
+
"rustls-webpki",
|
|
718
|
+
"subtle",
|
|
719
|
+
"zeroize",
|
|
720
|
+
]
|
|
721
|
+
|
|
722
|
+
[[package]]
|
|
723
|
+
name = "rustls-pki-types"
|
|
724
|
+
version = "1.15.1"
|
|
725
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
726
|
+
checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
|
|
727
|
+
dependencies = [
|
|
728
|
+
"zeroize",
|
|
729
|
+
]
|
|
730
|
+
|
|
731
|
+
[[package]]
|
|
732
|
+
name = "rustls-webpki"
|
|
733
|
+
version = "0.103.16"
|
|
734
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
735
|
+
checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
|
|
736
|
+
dependencies = [
|
|
737
|
+
"ring",
|
|
738
|
+
"rustls-pki-types",
|
|
739
|
+
"untrusted",
|
|
740
|
+
]
|
|
741
|
+
|
|
495
742
|
[[package]]
|
|
496
743
|
name = "rustversion"
|
|
497
744
|
version = "1.0.23"
|
|
498
745
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
499
746
|
checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
500
747
|
|
|
748
|
+
[[package]]
|
|
749
|
+
name = "serde_core"
|
|
750
|
+
version = "1.0.229"
|
|
751
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
752
|
+
checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
|
|
753
|
+
dependencies = [
|
|
754
|
+
"serde_derive",
|
|
755
|
+
]
|
|
756
|
+
|
|
757
|
+
[[package]]
|
|
758
|
+
name = "serde_derive"
|
|
759
|
+
version = "1.0.229"
|
|
760
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
761
|
+
checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
762
|
+
dependencies = [
|
|
763
|
+
"proc-macro2",
|
|
764
|
+
"quote",
|
|
765
|
+
"syn 3.0.9",
|
|
766
|
+
]
|
|
767
|
+
|
|
501
768
|
[[package]]
|
|
502
769
|
name = "sha2"
|
|
503
770
|
version = "0.11.1"
|
|
@@ -509,6 +776,12 @@ dependencies = [
|
|
|
509
776
|
"digest",
|
|
510
777
|
]
|
|
511
778
|
|
|
779
|
+
[[package]]
|
|
780
|
+
name = "shlex"
|
|
781
|
+
version = "2.0.1"
|
|
782
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
783
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
784
|
+
|
|
512
785
|
[[package]]
|
|
513
786
|
name = "simd-adler32"
|
|
514
787
|
version = "0.3.10"
|
|
@@ -534,7 +807,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
534
807
|
checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
|
|
535
808
|
dependencies = [
|
|
536
809
|
"libc",
|
|
537
|
-
"windows-sys",
|
|
810
|
+
"windows-sys 0.61.2",
|
|
538
811
|
]
|
|
539
812
|
|
|
540
813
|
[[package]]
|
|
@@ -571,12 +844,73 @@ version = "1.0.2"
|
|
|
571
844
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
572
845
|
checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
|
|
573
846
|
|
|
847
|
+
[[package]]
|
|
848
|
+
name = "synstructure"
|
|
849
|
+
version = "0.13.2"
|
|
850
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
851
|
+
checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
|
|
852
|
+
dependencies = [
|
|
853
|
+
"proc-macro2",
|
|
854
|
+
"quote",
|
|
855
|
+
"syn 2.0.119",
|
|
856
|
+
]
|
|
857
|
+
|
|
574
858
|
[[package]]
|
|
575
859
|
name = "target-lexicon"
|
|
576
860
|
version = "0.13.5"
|
|
577
861
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
862
|
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
579
863
|
|
|
864
|
+
[[package]]
|
|
865
|
+
name = "thiserror"
|
|
866
|
+
version = "2.0.21"
|
|
867
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
868
|
+
checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
|
|
869
|
+
dependencies = [
|
|
870
|
+
"thiserror-impl",
|
|
871
|
+
]
|
|
872
|
+
|
|
873
|
+
[[package]]
|
|
874
|
+
name = "thiserror-impl"
|
|
875
|
+
version = "2.0.21"
|
|
876
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
877
|
+
checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
878
|
+
dependencies = [
|
|
879
|
+
"proc-macro2",
|
|
880
|
+
"quote",
|
|
881
|
+
"syn 3.0.9",
|
|
882
|
+
]
|
|
883
|
+
|
|
884
|
+
[[package]]
|
|
885
|
+
name = "time"
|
|
886
|
+
version = "0.3.55"
|
|
887
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
888
|
+
checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
|
|
889
|
+
dependencies = [
|
|
890
|
+
"deranged",
|
|
891
|
+
"num-conv",
|
|
892
|
+
"powerfmt",
|
|
893
|
+
"serde_core",
|
|
894
|
+
"time-core",
|
|
895
|
+
"time-macros",
|
|
896
|
+
]
|
|
897
|
+
|
|
898
|
+
[[package]]
|
|
899
|
+
name = "time-core"
|
|
900
|
+
version = "0.1.9"
|
|
901
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
902
|
+
checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
|
|
903
|
+
|
|
904
|
+
[[package]]
|
|
905
|
+
name = "time-macros"
|
|
906
|
+
version = "0.2.32"
|
|
907
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
908
|
+
checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85"
|
|
909
|
+
dependencies = [
|
|
910
|
+
"num-conv",
|
|
911
|
+
"time-core",
|
|
912
|
+
]
|
|
913
|
+
|
|
580
914
|
[[package]]
|
|
581
915
|
name = "tokio"
|
|
582
916
|
version = "1.54.1"
|
|
@@ -589,7 +923,7 @@ dependencies = [
|
|
|
589
923
|
"pin-project-lite",
|
|
590
924
|
"socket2",
|
|
591
925
|
"tokio-macros",
|
|
592
|
-
"windows-sys",
|
|
926
|
+
"windows-sys 0.61.2",
|
|
593
927
|
]
|
|
594
928
|
|
|
595
929
|
[[package]]
|
|
@@ -603,6 +937,16 @@ dependencies = [
|
|
|
603
937
|
"syn 3.0.9",
|
|
604
938
|
]
|
|
605
939
|
|
|
940
|
+
[[package]]
|
|
941
|
+
name = "tokio-rustls"
|
|
942
|
+
version = "0.26.6"
|
|
943
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
944
|
+
checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db"
|
|
945
|
+
dependencies = [
|
|
946
|
+
"rustls",
|
|
947
|
+
"tokio",
|
|
948
|
+
]
|
|
949
|
+
|
|
606
950
|
[[package]]
|
|
607
951
|
name = "tokio-stream"
|
|
608
952
|
version = "0.1.19"
|
|
@@ -733,6 +1077,12 @@ version = "1.0.27"
|
|
|
733
1077
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
734
1078
|
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
735
1079
|
|
|
1080
|
+
[[package]]
|
|
1081
|
+
name = "untrusted"
|
|
1082
|
+
version = "0.9.0"
|
|
1083
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1084
|
+
checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
|
1085
|
+
|
|
736
1086
|
[[package]]
|
|
737
1087
|
name = "want"
|
|
738
1088
|
version = "0.3.2"
|
|
@@ -754,6 +1104,15 @@ version = "0.2.1"
|
|
|
754
1104
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
755
1105
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
756
1106
|
|
|
1107
|
+
[[package]]
|
|
1108
|
+
name = "windows-sys"
|
|
1109
|
+
version = "0.52.0"
|
|
1110
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1111
|
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
|
1112
|
+
dependencies = [
|
|
1113
|
+
"windows-targets",
|
|
1114
|
+
]
|
|
1115
|
+
|
|
757
1116
|
[[package]]
|
|
758
1117
|
name = "windows-sys"
|
|
759
1118
|
version = "0.61.2"
|
|
@@ -763,6 +1122,93 @@ dependencies = [
|
|
|
763
1122
|
"windows-link",
|
|
764
1123
|
]
|
|
765
1124
|
|
|
1125
|
+
[[package]]
|
|
1126
|
+
name = "windows-targets"
|
|
1127
|
+
version = "0.52.6"
|
|
1128
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1129
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
1130
|
+
dependencies = [
|
|
1131
|
+
"windows_aarch64_gnullvm",
|
|
1132
|
+
"windows_aarch64_msvc",
|
|
1133
|
+
"windows_i686_gnu",
|
|
1134
|
+
"windows_i686_gnullvm",
|
|
1135
|
+
"windows_i686_msvc",
|
|
1136
|
+
"windows_x86_64_gnu",
|
|
1137
|
+
"windows_x86_64_gnullvm",
|
|
1138
|
+
"windows_x86_64_msvc",
|
|
1139
|
+
]
|
|
1140
|
+
|
|
1141
|
+
[[package]]
|
|
1142
|
+
name = "windows_aarch64_gnullvm"
|
|
1143
|
+
version = "0.52.6"
|
|
1144
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1145
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
1146
|
+
|
|
1147
|
+
[[package]]
|
|
1148
|
+
name = "windows_aarch64_msvc"
|
|
1149
|
+
version = "0.52.6"
|
|
1150
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1151
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
1152
|
+
|
|
1153
|
+
[[package]]
|
|
1154
|
+
name = "windows_i686_gnu"
|
|
1155
|
+
version = "0.52.6"
|
|
1156
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1157
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
1158
|
+
|
|
1159
|
+
[[package]]
|
|
1160
|
+
name = "windows_i686_gnullvm"
|
|
1161
|
+
version = "0.52.6"
|
|
1162
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1163
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
1164
|
+
|
|
1165
|
+
[[package]]
|
|
1166
|
+
name = "windows_i686_msvc"
|
|
1167
|
+
version = "0.52.6"
|
|
1168
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1169
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
1170
|
+
|
|
1171
|
+
[[package]]
|
|
1172
|
+
name = "windows_x86_64_gnu"
|
|
1173
|
+
version = "0.52.6"
|
|
1174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1175
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
1176
|
+
|
|
1177
|
+
[[package]]
|
|
1178
|
+
name = "windows_x86_64_gnullvm"
|
|
1179
|
+
version = "0.52.6"
|
|
1180
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1181
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
1182
|
+
|
|
1183
|
+
[[package]]
|
|
1184
|
+
name = "windows_x86_64_msvc"
|
|
1185
|
+
version = "0.52.6"
|
|
1186
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1187
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
1188
|
+
|
|
1189
|
+
[[package]]
|
|
1190
|
+
name = "x509-parser"
|
|
1191
|
+
version = "0.18.1"
|
|
1192
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1193
|
+
checksum = "d43b0f71ce057da06bc0851b23ee24f3f86190b07203dd8f567d0b706a185202"
|
|
1194
|
+
dependencies = [
|
|
1195
|
+
"asn1-rs",
|
|
1196
|
+
"data-encoding",
|
|
1197
|
+
"der-parser",
|
|
1198
|
+
"lazy_static",
|
|
1199
|
+
"nom",
|
|
1200
|
+
"oid-registry",
|
|
1201
|
+
"rusticata-macros",
|
|
1202
|
+
"thiserror",
|
|
1203
|
+
"time",
|
|
1204
|
+
]
|
|
1205
|
+
|
|
1206
|
+
[[package]]
|
|
1207
|
+
name = "zeroize"
|
|
1208
|
+
version = "1.9.1"
|
|
1209
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1210
|
+
checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879"
|
|
1211
|
+
|
|
766
1212
|
[[package]]
|
|
767
1213
|
name = "zlib-rs"
|
|
768
1214
|
version = "0.6.8"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[package]
|
|
4
4
|
name = "pygrpc_native"
|
|
5
|
-
version = "0.
|
|
5
|
+
version = "0.8.0"
|
|
6
6
|
edition = "2021"
|
|
7
7
|
license = "Apache-2.0"
|
|
8
8
|
description = "A gRPC server in Rust that hands calls to Python handlers in batches"
|
|
@@ -21,6 +21,7 @@ default = ["extension-module"]
|
|
|
21
21
|
extension-module = ["pyo3/extension-module"]
|
|
22
22
|
|
|
23
23
|
[dependencies]
|
|
24
|
+
base64 = "0.22"
|
|
24
25
|
bytes = "1.9"
|
|
25
26
|
crossbeam-channel = "0.5"
|
|
26
27
|
futures-core = "0.3"
|
|
@@ -32,12 +33,15 @@ hyper-util = { version = "0.1", features = ["tokio"] }
|
|
|
32
33
|
log = "0.4"
|
|
33
34
|
pyo3 = { version = "0.29", features = ["abi3-py310"] }
|
|
34
35
|
pyo3-log = "0.13"
|
|
36
|
+
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
|
|
35
37
|
sha2 = "0.11"
|
|
36
38
|
# "all" for set_reuse_port.
|
|
37
39
|
socket2 = { version = "0.6", features = ["all"] }
|
|
38
40
|
subtle = "2.6"
|
|
39
41
|
tokio = { version = "1", features = ["rt-multi-thread", "net", "sync", "time", "macros"] }
|
|
42
|
+
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] }
|
|
40
43
|
tonic = { version = "0.14", default-features = false, features = ["server", "gzip"] }
|
|
44
|
+
x509-parser = { version = "0.18", default-features = false }
|
|
41
45
|
|
|
42
46
|
# The per-call path crosses crates (hyper, h2, tonic); let them inline.
|
|
43
47
|
[profile.release]
|