[[bench]]
harness = false
name = "warrant_benchmarks"
path = "benches/warrant_benchmarks.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"]
[dependencies.axum]
optional = true
version = "0.7"
[dependencies.base64]
version = "0.22"
[dependencies.cel-interpreter]
optional = true
version = "0.8"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.ciborium]
version = "0.2"
[dependencies.clap]
features = ["derive", "env"]
version = "4.4"
[dependencies.der]
features = ["pem"]
version = "0.7"
[dependencies.ed25519-dalek]
features = ["rand_core", "serde", "batch", "pkcs8", "zeroize"]
version = "2.1"
[dependencies.glob]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.humantime]
version = "2.1"
[dependencies.ipnetwork]
version = "0.20"
[dependencies.matchit]
version = "0.7"
[dependencies.moka]
features = ["sync"]
optional = true
version = "0.12"
[dependencies.pem]
version = "3.0"
[dependencies.pkcs8]
features = ["alloc", "pem"]
version = "0.10"
[dependencies.pyo3]
features = ["abi3-py38"]
optional = true
version = "0.24"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1.10"
[dependencies.reqwest]
features = ["blocking", "json"]
optional = true
version = "0.11"
[dependencies.secrecy]
features = ["serde"]
version = "0.8"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_bytes]
version = "0.11"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.smallvec]
features = ["union"]
version = "1.13"
[dependencies.spki]
features = ["alloc", "pem"]
version = "0.7"
[dependencies.subtle]
version = "2.6"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.35"
[dependencies.tower]
optional = true
version = "0.4"
[dependencies.tracing]
optional = true
version = "0.1"
[dependencies.url]
version = "2.5"
[dependencies.uuid]
features = ["v4", "v7", "serde", "js"]
version = "1.6"
[dependencies.zeroize]
version = "1.7"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tokio]
features = ["full", "test-util"]
version = "1.35"
[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"]
server = ["tokio", "axum", "tower", "tracing"]
[lib]
crate-type = ["rlib"]
name = "tenuo"
path = "src/lib.rs"
[lints.rust]
deprecated = "allow"
[package]
authors = ["Tenuo Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["authentication", "cryptography", "network-programming", "web-programming", "security"]
description = "Agent Capability Flow Control - Rust core library"
edition = "2021"
keywords = ["authorization", "capabilities", "agents", "security", "middleware"]
license = "MIT OR Apache-2.0"
name = "tenuo"
readme = "README.md"
repository = "https://github.com/tenuo-ai/tenuo"
version = "0.1.0-beta.1"
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 16
lto = "thin"
opt-level = 3
strip = true
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
features = ["js"]
version = "0.2"
[[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 = "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 = "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 = "wire_compatibility"
path = "tests/wire_compatibility.rs"
[[test]]
name = "wire_format_compliance"
path = "tests/wire_format_compliance.rs"