[package]
edition = "2021"
name = "tenuo"
version = "0.1.0-beta.21"
authors = ["Tenuo Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent Capability Flow Control - Rust core library"
readme = "README.md"
keywords = [
"authorization",
"capabilities",
"agents",
"security",
"middleware",
]
categories = [
"authentication",
"cryptography",
"network-programming",
"web-programming",
"security",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tenuo-ai/tenuo"
[features]
cel = [
"cel-interpreter",
"moka",
]
control-plane = []
data-plane = []
default = [
"control-plane",
"data-plane",
]
http-client = ["reqwest"]
python = ["pyo3"]
python-extension = [
"pyo3/extension-module",
"python",
]
python-server = [
"python",
"server",
]
server = [
"tokio",
"axum",
"tower",
"tracing",
"tracing-subscriber",
"reqwest",
]
[lib]
name = "tenuo"
crate-type = ["rlib"]
path = "src/lib.rs"
[[bin]]
name = "generate_test_vectors"
path = "src/bin/generate_test_vectors.rs"
[[bin]]
name = "tenuo"
path = "src/bin/cli.rs"
required-features = [
"control-plane",
"data-plane",
]
[[bin]]
name = "tenuo-authorizer"
path = "src/bin/authorizer.rs"
required-features = [
"data-plane",
"server",
]
[[bin]]
name = "tenuo-control"
path = "src/bin/control.rs"
required-features = [
"control-plane",
"server",
]
[[bin]]
name = "tenuo-orchestrator"
path = "src/bin/orchestrator.rs"
required-features = [
"control-plane",
"data-plane",
"http-client",
]
[[bin]]
name = "tenuo-worker"
path = "src/bin/worker.rs"
required-features = ["data-plane"]
[[test]]
name = "approval_gate_merge"
path = "tests/approval_gate_merge.rs"
[[test]]
name = "attenuation_soundness"
path = "tests/attenuation_soundness.rs"
[[test]]
name = "canonicalization"
path = "tests/canonicalization.rs"
[[test]]
name = "cel_stdlib"
path = "tests/cel_stdlib.rs"
[[test]]
name = "chain_verification_invariants"
path = "tests/chain_verification_invariants.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "constraint_types"
path = "tests/constraint_types.rs"
[[test]]
name = "delegation_semantics"
path = "tests/delegation_semantics.rs"
[[test]]
name = "enrollment_flow"
path = "tests/enrollment_flow.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "invariants"
path = "tests/invariants.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "parental_revocation"
path = "tests/parental_revocation.rs"
[[test]]
name = "red_team"
path = "tests/red_team.rs"
[[test]]
name = "revocation"
path = "tests/revocation.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "test_object_extraction"
path = "tests/test_object_extraction.rs"
[[test]]
name = "test_vectors"
path = "tests/test_vectors.rs"
[[test]]
name = "wire_compatibility"
path = "tests/wire_compatibility.rs"
[[test]]
name = "wire_format_compliance"
path = "tests/wire_format_compliance.rs"
[[test]]
name = "wire_level_invariants"
path = "tests/wire_level_invariants.rs"
[[bench]]
name = "warrant_benchmarks"
path = "benches/warrant_benchmarks.rs"
harness = false
[dependencies.axum]
version = "0.8"
optional = true
[dependencies.base64]
version = "0.22"
[dependencies.cel-interpreter]
version = "0.10"
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.ciborium]
version = "0.2"
[dependencies.clap]
version = "4.6"
features = [
"derive",
"env",
]
[dependencies.der]
version = "0.7"
features = ["pem"]
[dependencies.ed25519-dalek]
version = "2.1"
features = [
"rand_core",
"serde",
"batch",
"pkcs8",
"zeroize",
]
[dependencies.glob]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.humantime]
version = "2.1"
[dependencies.ipnetwork]
version = "0.21"
[dependencies.matchit]
version = "0.8"
[dependencies.moka]
version = "0.12"
features = ["sync"]
optional = true
[dependencies.pem]
version = "3.0"
[dependencies.pkcs8]
version = "0.10"
features = [
"alloc",
"pem",
]
[dependencies.pyo3]
version = "=0.28.3"
features = ["abi3-py39"]
optional = true
[dependencies.rand]
version = "0.10"
[dependencies.regex]
version = "1.10"
[dependencies.reqwest]
version = "0.13"
features = [
"blocking",
"json",
]
optional = true
[dependencies.secrecy]
version = "0.10"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_bytes]
version = "0.11"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.smallvec]
version = "1.13"
features = ["union"]
[dependencies.spki]
version = "0.7"
features = [
"alloc",
"pem",
]
[dependencies.subtle]
version = "2.6"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.35"
features = ["full"]
optional = true
[dependencies.tower]
version = "0.5"
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.6"
features = [
"v4",
"v7",
"serde",
"js",
]
[dependencies.zeroize]
version = "1.7"
[dev-dependencies.ci_group]
version = "0.1"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.27"
[dev-dependencies.tokio]
version = "1.35"
features = [
"full",
"test-util",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom3]
version = "0.3"
features = ["wasm_js"]
package = "getrandom"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom4]
version = "0.4"
features = ["wasm_js"]
package = "getrandom"
[lints.rust]
deprecated = "allow"
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 16
strip = true