# 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.86"
name = "acdp-safe-http"
version = "0.2.0"
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",
]
test-transport = []

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

[dependencies.acdp-primitives]
version = "0.2.0"

[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"
