# 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.63" name = "h2_imp" version = "0.5.7" authors = [ "Carl Lerche ", "Sean McArthur ", ] build = false exclude = [ "fixtures/**", "ci/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "An HTTP/2 client and server" documentation = "https://docs.rs/h2" readme = "README.md" keywords = [ "http", "async", "non-blocking", ] categories = [ "asynchronous", "web-programming", "network-programming", ] license = "MIT" repository = "https://github.com/hyperium/h2" [package.metadata.docs.rs] features = ["stream"] [lib] name = "h2_imp" 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 = "0.2" [dependencies.indexmap] version = "2" features = ["std"] [dependencies.slab] version = "0.4.2" [dependencies.tokio] version = "1" features = ["io-util"] [dependencies.tokio-util] version = "0.7.1" features = [ "codec", "io", ] [dependencies.tracing] version = "0.1.32" features = ["std"] default-features = false [dev-dependencies.env_logger] version = "0.10" default-features = false [dev-dependencies.h2] version = "0.5" package = "h2_imp" [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.walkdir] version = "2.3.2" [dev-dependencies.webpki-roots] version = "0.26" [features] stream = [] unstable = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(fuzzing)"]