CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m47s
CI / Check (pull_request) Successful in 20m50s
The crate versions had stayed at 0.4.6 since the first releases; the running version comes from the release tag. Bumping them to the release also changes Cargo.toml and Cargo.lock, so the main build after merging rebuilds the agent, dashboard and MCP images together for v0.4.15. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
77 lines
2.6 KiB
TOML
77 lines
2.6 KiB
TOML
[package]
|
|
name = "compliance-core"
|
|
version = "0.4.15"
|
|
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 }
|