[package]
edition = "2021"
name = "aperion-shield"
version = "1.0.1"
authors = ["Aperion <support@aperion.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Aperion Shield -- a local MCP guardrail for AI coding agents with optional biometric identity gates (ID.me). Standalone, free, open source."
readme = "README.md"
keywords = [
"mcp",
"ai",
"guardrails",
"security",
"agent",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/AperionAI/shield"
[lib]
name = "aperion_shield"
path = "src/lib.rs"
[[bin]]
name = "aperion-shield"
path = "src/main.rs"
[[test]]
name = "atr_pack_integration"
path = "tests/atr_pack_integration.rs"
[[test]]
name = "diff_integration"
path = "tests/diff_integration.rs"
[[test]]
name = "explain_integration"
path = "tests/explain_integration.rs"
[[test]]
name = "hooks_integration"
path = "tests/hooks_integration.rs"
[[test]]
name = "identity_e2e"
path = "tests/identity_e2e.rs"
[[test]]
name = "rules_integration"
path = "tests/rules_integration.rs"
[[test]]
name = "sandbox_integration"
path = "tests/sandbox_integration.rs"
[[test]]
name = "scan_integration"
path = "tests/scan_integration.rs"
[[test]]
name = "shims_integration"
path = "tests/shims_integration.rs"
[[test]]
name = "suggest_integration"
path = "tests/suggest_integration.rs"
[[test]]
name = "supply_chain_integration"
path = "tests/supply_chain_integration.rs"
[[test]]
name = "transport_integration"
path = "tests/transport_integration.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dirs]
version = "5"
[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dependencies.env_logger]
version = "0.11"
[dependencies.fs2]
version = "0.4"
[dependencies.futures-util]
version = "0.3"
default-features = false
[dependencies.hex]
version = "0.4"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"server",
"http1",
]
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"server",
"server-graceful",
]
[dependencies.log]
version = "0.4"
[dependencies.once_cell]
version = "1"
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.similar]
version = "2"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"io-util",
"io-std",
"process",
"sync",
"time",
]
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true