mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-19 05:50:41 +08:00
rcgen 0.13.2 declares its optional x509-parser dependency with the verify feature, which pulls in ring. The workspace enabled rcgen's x509-parser feature for every crate, so the CLI and gateway linked ring alongside aws-lc even though nothing in them verifies signatures with x509-parser. Only SandboxCa::from_pem in openshell-supervisor-network needs CertificateParams::from_ca_cert_pem. Enable the feature there alone. ring no longer appears in the dependency trees of openshell, openshell-gateway or openshell-prover; it remains in openshell-supervisor until rcgen is upgraded. Release builds compile one package at a time, so the feature does not leak into the other binaries. Signed-off-by: politerealism <burdcat17@gmail.com>
88 lines
3.1 KiB
TOML
88 lines
3.1 KiB
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "openshell-supervisor-network"
|
|
description = "Network component of the OpenShell supervisor: proxy, L7 enforcement, OPA, and denial aggregation"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
openshell-binary-identity = { path = "../openshell-binary-identity" }
|
|
openshell-core = { path = "../openshell-core", features = ["oauth"] }
|
|
openshell-isolation-interface = { path = "../openshell-isolation-interface" }
|
|
openshell-ocsf = { path = "../openshell-ocsf" }
|
|
openshell-policy = { path = "../openshell-policy" }
|
|
openshell-policy-schema = { path = "../openshell-policy-schema" }
|
|
openshell-supervisor-middleware = { path = "../openshell-supervisor-middleware" }
|
|
|
|
async-trait = "0.1"
|
|
|
|
apollo-parser = { workspace = true }
|
|
aws-sigv4 = { version = "1", features = ["sign-http", "http1"] }
|
|
aws-credential-types = { version = "1", features = ["hardcoded-credentials"] }
|
|
aws-smithy-runtime-api = { version = "1", features = ["client"] }
|
|
http = { workspace = true }
|
|
base64 = { workspace = true }
|
|
bytes = { workspace = true }
|
|
flate2 = "1"
|
|
futures = { workspace = true }
|
|
glob = { workspace = true }
|
|
hex = "0.4"
|
|
hickory-proto = "0.26.1"
|
|
ipnet = "2"
|
|
miette = { workspace = true }
|
|
prost-types = { workspace = true }
|
|
rcgen = { workspace = true, features = ["x509-parser"] }
|
|
regorus = { version = "0.9", default-features = false, features = ["std", "arc", "glob", "yaml"] }
|
|
reqwest = { workspace = true }
|
|
rustls = { workspace = true }
|
|
rustls-native-certs = { workspace = true }
|
|
rustls-pemfile = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_yml = { workspace = true }
|
|
sha1 = "0.10"
|
|
sha2 = { workspace = true }
|
|
spiffe = { workspace = true }
|
|
tempfile = "3"
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tokio-rustls = { workspace = true }
|
|
tower-mcp-types = { workspace = true }
|
|
tracing = { workspace = true }
|
|
uuid = { workspace = true }
|
|
webpki-roots = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
default = ["bundled-ca-roots"]
|
|
bundled-ca-roots = ["dep:webpki-roots"]
|
|
|
|
[dev-dependencies]
|
|
openshell-driver-vm = { path = "../openshell-driver-vm", default-features = false, features = ["allocation-tracking"] }
|
|
openshell-ocsf = { path = "../openshell-ocsf", features = ["test-support"] }
|
|
openshell-otel = { path = "../openshell-otel" }
|
|
openshell-supervisor-middleware-builtins = { path = "../openshell-supervisor-middleware-builtins" }
|
|
opentelemetry_sdk = { workspace = true, features = ["testing"] }
|
|
tonic = { workspace = true }
|
|
temp-env = "0.3"
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
tokio-tungstenite = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
tokio-stream = { workspace = true, features = ["net"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
nix = { workspace = true, features = ["socket", "net"] }
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
rustix = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|