[package]
edition = "2021"
name = "agent-fetch"
version = "0.1.10"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A sandboxed HTTP client for AI agents with SSRF protection, domain policies, rate limiting, and resource controls"
readme = "README.md"
keywords = [
"http",
"security",
"ssrf",
"ai-agent",
"sandbox",
]
categories = [
"web-programming::http-client",
"network-programming",
]
license = "MIT"
repository = "https://github.com/Parassharmaa/agent-fetch"
[lib]
name = "agent_fetch"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.bytes]
version = "1"
[dependencies.hickory-resolver]
version = "0.25"
[dependencies.http]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"http2",
"hickory-dns",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
"time",
"macros",
]
[dependencies.url]
version = "2"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[lints.rust]
dead_code = "warn"
deprecated = "deny"
unused_imports = "warn"