agentguard 0.1.0

Network egress firewall for AI agent tools. Declarative domain allowlist; throws on violation. Optional reqwest-middleware integration.
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 = "2021"
rust-version = "1.75"
name = "agentguard"
version = "0.1.0"
authors = ["MukundaKatta"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Network egress firewall for AI agent tools. Declarative domain allowlist; throws on violation. Optional reqwest-middleware integration."
homepage = "https://github.com/MukundaKatta/agentguard-rs"
documentation = "https://docs.rs/agentguard"
readme = "README.md"
keywords = [
    "llm",
    "agent",
    "security",
    "sandbox",
    "allowlist",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/MukundaKatta/agentguard-rs"

[features]
default = []
reqwest = [
    "dep:reqwest",
    "dep:reqwest-middleware",
    "dep:async-trait",
    "dep:http",
    "dep:anyhow",
]

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

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

[dependencies.anyhow]
version = "1"
optional = true

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

[dependencies.http]
version = "1"
optional = true

[dependencies.reqwest]
version = "0.12"
optional = true
default-features = false

[dependencies.reqwest-middleware]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2"