Debian Codegraph @

crt/s2n/bindings/rust/standard/s2n-tls-metrics-subscriber/Cargo.toml

raw symbols SCIP
1 [package]
2 name = "s2n-tls-metrics-subscriber"
3 version = "0.0.3"
4 edition = "2024"
5 description = "Telemetry provider for s2n-tls"
6 authors = ["AWS s2n"]
7 repository = "https://github.com/aws/s2n-tls"
8 license = "Apache-2.0"
9
10 [dependencies]
11 s2n-tls-metrics-schema = { version = "0.0.1", path = "../s2n-tls-metrics-schema" }
12 s2n-codec.workspace = true
13 static_assertions = "1.1.0"
14 tracing = "0.1.43"
15
16 metrique-writer = "0.1.19"
17
18 arc-swap = "1.8.0"
19 # minimum versions set for workspace-wide cargo minimal-versions compatibility
20 serde = { version = "1.0.225", features = ["derive"] }
21 # we at least need 0.3.38, because of the Connection::mode() API
22 s2n-tls = { version = "0.3.38", path = "../../extended/s2n-tls", features = ["unstable-events", "unstable-testing"] }
23 s2n-tls-sys = { version = "0.3.38", path = "../../extended/s2n-tls-sys"}
24 const-oid = "0.10.2"
25
26 [features]
27 fuzzing = []
28 # Memory-allocation tests have hardcoded expected values that depend on the
29 # platform's allocator and libcrypto version. Gated behind this opt-in feature
30 # so workspace-wide `cargo test` skips them; CI runs them in a dedicated job.
31 memory-test = []
32
33 [dev-dependencies]
34 s2n-tls-sys-internal = { path = "../s2n-tls-sys-internal" }
35 serde_json = "1.0.141"
36 ciborium = "0.2"
37 dhat = "0.3"
38 tabled = "0.21"
39 metrique-writer = { version = "0.1.19", features = ["test-util"] }
40 metrique-writer-format-emf = "0.1.21"
41
42 [[test]]
43 name = "subscriber_memory"
44 required-features = ["memory-test"]