[package]
name = "http2"
version = "0.5.11"
license = "MIT"
authors = ["0x676e67 <gngppz@gmail.com>"]
description = "An HTTP/2 client and server"
documentation = "https://docs.rs/http2"
repository = "https://github.com/0x676e67/http2"
readme = "README.md"
keywords = ["http", "http2", "async", "non-blocking"]
categories = ["asynchronous", "web-programming", "network-programming"]
exclude = ["fixtures/**", "ci/**"]
edition = "2021"
rust-version = "1.68"
[features]
stream = []
tracing = ["dep:tracing"]
unstable = []
parking_lot = ["dep:parking_lot"]
[workspace]
members = [
"tests/h2-fuzz",
"tests/h2-tests",
"tests/h2-support",
"util/genfixture",
"util/genhuff",
]
[dependencies]
atomic-waker = "1.0.0"
futures-core = { version = "0.3", default-features = false }
futures-sink = { version = "0.3", default-features = false }
tokio-util = { version = "0.7.1", features = ["codec", "io"] }
tokio = { version = "1", features = ["io-util"] }
bytes = "1"
http = "1"
tracing = { version = "0.1", default-features = false, features = [
"std",
], optional = true }
fnv = "1.0.5"
slab = "0.4.2"
indexmap = { version = "2", features = ["std"] }
smallvec = "1.15.0"
parking_lot = { version = "0.12.4", optional = true }
[dev-dependencies]
tracing = { version = "0.1", default-features = false, features = ["std"] }
h2 = { version = "0.4" }
quickcheck = { version = "1.0.3", default-features = false }
rand = "0.8.4"
hex = "0.4.3"
walkdir = "2.3.2"
serde = "1.0.0"
serde_json = "1.0.0"
tokio = { version = "1", features = [
"rt-multi-thread",
"macros",
"sync",
"net",
] }
env_logger = { version = "0.10", default-features = false }
tokio-rustls = "0.26"
webpki-roots = "1"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(fuzzing)"] }
[package.metadata.docs.rs]
features = ["stream"]
[[bench]]
name = "main"
harness = false