atd-server-http 1.2.0

Streamable-HTTP (MCP JSON-RPC) transport for ATD-speaking servers — pair with atd-runtime, sibling of atd-server (Unix-socket transport).
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.85"
name = "atd-server-http"
version = "1.2.0"
authors = ["ATD Protocol Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Streamable-HTTP (MCP JSON-RPC) transport for ATD-speaking servers — pair with atd-runtime, sibling of atd-server (Unix-socket transport)."
readme = "README.md"
keywords = [
    "atd",
    "mcp",
    "http",
    "transport",
    "agent",
]
categories = [
    "api-bindings",
    "asynchronous",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/downsea/atd"
resolver = "2"

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

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

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

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

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

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

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

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

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

[dependencies.atd-protocol]
version = "1.1.0"

[dependencies.atd-runtime]
version = "1.2.0"

[dependencies.axum]
version = "0.8"

[dependencies.http]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "io-util",
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "process",
    "fs",
]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "limit",
]

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.ed25519-dalek]
version = "2"
features = [
    "std",
    "fast",
]
default-features = false

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
]

[dev-dependencies.hyper-util]
version = "0.1"
features = [
    "client",
    "client-legacy",
    "tokio",
    "http1",
]

[dev-dependencies.multibase]
version = "0.9"

[dev-dependencies.tempfile]
version = "3"