http2 0.5.12

An HTTP/2 client and server
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"
rust-version = "1.68"
name = "http2"
version = "0.5.12"
authors = ["0x676e67 <gngppz@gmail.com>"]
build = false
exclude = [
    "fixtures/**",
    "ci/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An HTTP/2 client and server"
documentation = "https://docs.rs/http2"
readme = "README.md"
keywords = [
    "http",
    "http2",
    "async",
    "non-blocking",
]
categories = [
    "asynchronous",
    "web-programming",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/0x676e67/http2"

[package.metadata.docs.rs]
features = ["stream"]

[features]
parking_lot = ["dep:parking_lot"]
stream = []
tracing = ["dep:tracing"]
unstable = []

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

[[example]]
name = "akamai"
path = "examples/akamai.rs"

[[example]]
name = "client"
path = "examples/client.rs"

[[example]]
name = "server"
path = "examples/server.rs"

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

[dependencies.atomic-waker]
version = "1.0.0"

[dependencies.bytes]
version = "1"

[dependencies.fnv]
version = "1.0.5"

[dependencies.futures-core]
version = "0.3"
default-features = false

[dependencies.futures-sink]
version = "0.3"
default-features = false

[dependencies.http]
version = "1"

[dependencies.indexmap]
version = "2"
features = ["std"]

[dependencies.parking_lot]
version = "0.12.4"
optional = true

[dependencies.slab]
version = "0.4.2"

[dependencies.smallvec]
version = "1.15.0"

[dependencies.tokio]
version = "1"
features = ["io-util"]

[dependencies.tokio-util]
version = "0.7.1"
features = [
    "codec",
    "io",
]

[dependencies.tracing]
version = "0.1"
features = ["std"]
optional = true
default-features = false

[dev-dependencies.env_logger]
version = "0.10"
default-features = false

[dev-dependencies.h2]
version = "0.4"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.quickcheck]
version = "1.0.3"
default-features = false

[dev-dependencies.rand]
version = "0.8.4"

[dev-dependencies.serde]
version = "1.0.0"

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

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

[dev-dependencies.tokio-rustls]
version = "0.26"

[dev-dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false

[dev-dependencies.walkdir]
version = "2.3.2"

[dev-dependencies.webpki-roots]
version = "1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]