[package]
edition = "2024"
rust-version = "1.88"
name = "micro-h2"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal no_std, allocation-free HTTP/2 client: framing, HPACK, and a bounded number of streams"
readme = "README.md"
keywords = [
"http2",
"hpack",
"no-std",
"embedded",
"sans-io",
]
categories = [
"network-programming",
"no-std",
"web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/no-std-rs/micro-h2"
[lib]
name = "micro_h2"
path = "src/lib.rs"
[[test]]
name = "h2_differential"
path = "tests/h2_differential.rs"
[[test]]
name = "hpack_differential"
path = "tests/hpack_differential.rs"
[[test]]
name = "message_validation"
path = "tests/message_validation.rs"
[[test]]
name = "protocol_regressions"
path = "tests/protocol_regressions.rs"
[[bench]]
name = "memory"
path = "benches/memory.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.heapless]
version = "0.9"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.fluke-hpack]
version = "0.3"
[dev-dependencies.h2]
version = "0.4"
[dev-dependencies.http]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-util",
"sync",
"time",
]
[profile.bench]
lto = "thin"
codegen-units = 1