Files
VoelinClient/third_party/schema-api/Cargo.toml
T
Claude fdcada22a0 schema-api: tonic TLS on aws-lc-rs, so rustls has one crypto provider
schema-api enabled tonic's tls-ring, which turns on rustls' ring next to the
aws-lc-rs that reqwest and str0m use. With two providers rustls cannot pick
a process-wide one, and every TLS client built without an explicit provider
panics: tokio-tungstenite's for wss:// gateways ("Could not automatically
determine the process-level CryptoProvider"), leaving observation stuck at
Connecting. tonic uses tls-aws-lc now (second local patch, VOELIN-PATCH.md);
ring is gone from rustls in Cargo.lock.

voelin-core's one_rustls_crypto_provider test builds a rustls client config
with the app's TLS dependencies (voelin-myts is a dev-dependency there); it
panics as above with tls-ring and passes with tls-aws-lc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
2026-10-04 18:48:11 +00:00

42 lines
1.3 KiB
TOML

[package]
name = "schema-api"
version = "0.1.0"
edition = "2021"
description = "Complete Rust gRPC bindings and client utilities for the supplied API schemas"
readme = "README.md"
publish = false
include = ["src/**", "proto/**", "build.rs", "Cargo.toml", "Cargo.lock", "README.md", "docs/**", "examples/**", "tests/**", "scripts/**"]
[features]
default = ["reflection"]
reflection = ["dep:prost-reflect", "dep:serde_json"]
server = []
infrastructure = []
gzip = ["tonic/gzip"]
[dependencies]
prost = "0.14"
prost-types = "0.14"
# Voelin: aws-lc-rs (was tls-ring), the one rustls provider of the app (VOELIN-PATCH.md).
tonic = { version = "0.14", features = ["transport", "tls-aws-lc", "tls-native-roots"] }
tonic-prost = "0.14"
thiserror = "2"
prost-reflect = { version = "0.16", features = ["serde"], optional = true }
serde_json = { version = "1", optional = true }
[build-dependencies]
prost-build = "0.14"
tonic-prost-build = "0.14"
protoc-bin-vendored = "3"
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "sync", "time"] }
tokio-stream = { version = "0.1", features = ["net"] }
[[example]]
name = "inspect_schema"
required-features = ["reflection"]
# Voelin: keep this vendored package independent of enclosing workspaces.
[workspace]