Files
pruefwerk/compliance-core/Cargo.toml
T
sharang 12a02c3725
CI / Check (push) Skipped
CI / Agent integration (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Successful in 3m20s
CI / Deploy Dashboard (push) Successful in 7m32s
CI / Deploy Agent (push) Successful in 9m40s
chore(release): workspace crates at 0.4.20 (#1089)
2026-12-01 12:51:33 +00:00

77 lines
2.6 KiB
TOML

[package]
name = "compliance-core"
version = "0.4.20"
edition = "2021"
[lints]
workspace = true
[features]
default = ["mongodb"]
mongodb = ["dep:mongodb"]
telemetry = [
"dep:opentelemetry",
"dep:opentelemetry_sdk",
"dep:opentelemetry-otlp",
"dep:opentelemetry-appender-tracing",
"dep:tracing-opentelemetry",
"dep:tracing-subscriber",
"dep:tracing",
]
# Pulls in the M7.1 Axum middleware + extractor. Consumers that don't
# embed an HTTP server (e.g. the wasm dashboard frontend) leave it off.
# Sealing stored credentials (`secret_box`): the agent's tenant credentials and
# the dashboard's session records.
secrets = [
"dep:aes-gcm",
"dep:base64",
"dep:tracing",
]
# Connections to tenant-chosen addresses (`guarded_net`): a DNS resolver that
# only returns guard-approved addresses, and guarded redirects.
net = [
"dep:reqwest",
"dep:tokio",
]
axum = [
"net",
"dep:axum",
"dep:jsonwebtoken",
"dep:tracing",
]
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
thiserror = { workspace = true }
# Decoding source files: BOM sniffing, UTF-16, Windows-1252
encoding_rs = { workspace = true }
sha2 = { workspace = true }
hex = { workspace = true }
uuid = { workspace = true }
secrecy = { workspace = true }
bson = { version = "2", features = ["chrono-0_4"] }
mongodb = { workspace = true, optional = true }
opentelemetry = { version = "0.29", optional = true }
opentelemetry_sdk = { version = "0.29", features = ["rt-tokio"], optional = true }
opentelemetry-otlp = { version = "0.29", features = ["http", "reqwest-rustls"], optional = true }
# experimental_use_tracing_span_context: an OTLP log record carries the
# trace_id/span_id of the span it was logged in, so SigNoz links logs and traces.
opentelemetry-appender-tracing = { version = "0.29", optional = true, features = ["experimental_use_tracing_span_context"] }
tracing-opentelemetry = { version = "0.30", optional = true }
tracing-subscriber = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
axum = { version = "0.8", optional = true }
jsonwebtoken = { version = "9", optional = true }
reqwest = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
aes-gcm = { workspace = true, optional = true }
base64 = { workspace = true, optional = true }
[dev-dependencies]
# Parse the declarative TOML job specs in the Werkbank contract tests.
toml = "0.8"
# Check the SBOM and VEX documents against the vendored official schemas.
jsonschema = { version = "0.33", default-features = false }