iroh-http-core 0.4.0

Iroh QUIC endpoint, HTTP/1.1 over hyper, fetch/serve with FFI-friendly types
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 = "2021"
name = "iroh-http-core"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Iroh QUIC endpoint, HTTP/1.1 over hyper, fetch/serve with FFI-friendly types"
documentation = "https://docs.rs/iroh-http-core"
readme = "README.md"
keywords = [
    "iroh",
    "p2p",
    "quic",
    "http",
    "peer-to-peer",
]
categories = [
    "network-programming",
    "web-programming::http-client",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Momics/iroh-http"

[features]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "channel"
path = "benches/channel.rs"
harness = false

[[bench]]
name = "latency"
path = "benches/latency.rs"
harness = false

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

[dependencies.base32]
version = "0.5"

[dependencies.bytes]
version = "1"

[dependencies.dashmap]
version = "6"

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

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

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

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "service",
]

[dependencies.iroh]
version = "0.98.1"

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.rand]
version = "0.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.slotmap]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tower]
version = "0.5"
features = [
    "limit",
    "timeout",
    "load-shed",
    "util",
]

[dependencies.tower-http]
version = "0.6"
features = [
    "add-extension",
    "compression-zstd",
    "decompression-zstd",
    "limit",
    "map-request-body",
    "map-response-body",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]

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

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde_json]
version = "1"

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

[dev-dependencies.zstd]
version = "0.13"