[package]
edition = "2021"
rust-version = "1.86"
name = "acdp-safe-http"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SSRF defenses and HTTPS guards (RFC-ACDP-0006 §7) for the Agent Context Distribution Protocol (ACDP)"
homepage = "https://github.com/agentcontextdistributionprotocol/acdp-rs"
documentation = "https://docs.rs/acdp-safe-http"
readme = "README.md"
keywords = [
"acdp",
"ssrf",
"security",
"http",
"dns-rebinding",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/agentcontextdistributionprotocol/acdp-rs"
[features]
client = [
"dep:reqwest",
"dep:tokio",
]
[lib]
name = "acdp_safe_http"
path = "src/lib.rs"
[dependencies.acdp-primitives]
version = "0.1.1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
optional = true
default-features = false
[dependencies.tokio]
version = "1"
features = ["net"]
optional = true
default-features = false
[dependencies.url]
version = "2"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"