[package]
edition = "2021"
name = "iroh-http-core"
version = "0.1.6"
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]
compression = [
"tower-http/compression-zstd",
"tower-http/decompression-zstd",
]
default = ["compression"]
[lib]
name = "iroh_http_core"
path = "src/lib.rs"
[[test]]
name = "bidi_stream"
path = "tests/bidi_stream.rs"
[[test]]
name = "diag_timeout"
path = "tests/diag_timeout.rs"
[[test]]
name = "integration"
path = "tests/integration.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 = "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.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.96.1"
[dependencies.moka]
version = "0.12"
features = ["future"]
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.rand]
version = "0.9"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.slab]
version = "0.4"
[dependencies.slotmap]
version = "1"
[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"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[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",
]