agentshield 1.0.0

AI Agent Egress Firewall - Default-deny egress control for AI agents
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "agentshield"
version = "1.0.0"
build = false
exclude = [
    ".github/",
    ".taskmaster/",
    ".idea/",
    ".serena/",
    ".claude/",
    "Formula/",
    "install.sh",
    "Dockerfile",
    "docker-compose.yml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI Agent Egress Firewall - Default-deny egress control for AI agents"
homepage = "https://github.com/kamuimk/agentshield"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "firewall",
    "proxy",
    "security",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/kamuimk/agentshield"

[lib]
name = "agentshield"
path = "src/lib.rs"

[[bin]]
name = "agentshield"
path = "src/main.rs"

[[test]]
name = "e2e_test"
path = "tests/e2e_test.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "policy_test"
path = "tests/policy_test.rs"

[[test]]
name = "proxy_test"
path = "tests/proxy_test.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["json"]

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.dirs]
version = "6"

[dependencies.futures-util]
version = "0.3"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.6"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.lru]
version = "0.12"

[dependencies.notify]
version = "7"

[dependencies.r2d2]
version = "0.8"

[dependencies.r2d2_sqlite]
version = "0.25"

[dependencies.rcgen]
version = "0.13"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.rustls]
version = "0.23"

[dependencies.rustls-pemfile]
version = "2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tokio-tungstenite]
version = "0.26"
features = ["rustls-tls-webpki-roots"]

[dependencies.toml]
version = "0.8"

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.webpki-roots]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tower]
version = "0.5"

[target."cfg(unix)".dependencies.libc]
version = "0.2"