agentd-net 1.0.1

Minimal blocking HTTP/1.1 + SSE over Read+Write, unix/tls/vsock connects, SSRF guard
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.96"
name = "agentd-net"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal blocking HTTP/1.1 + SSE over Read+Write, unix/tls/vsock connects, SSRF guard"
readme = "README.md"
keywords = [
    "http",
    "sse",
    "tls",
    "ssrf",
    "transport",
]
categories = ["network-programming"]
license = "AGPL-3.0-only"
repository = "https://github.com/agentd-dev/source-code"

[features]
default = []
tls = [
    "dep:rustls",
    "dep:webpki-roots",
    "dep:rustls-pemfile",
]
vsock = ["dep:vsock"]

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

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

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

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

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "ring",
    "tls12",
    "logging",
]
optional = true
default-features = false

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

[dependencies.vsock]
version = "0.5"
optional = true

[dependencies.webpki-roots]
version = "0.26"
optional = true