# 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.75"
name = "ntex-h2"
version = "1.4.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
build = false
exclude = [
    "fixtures/**",
    "util/**",
    "fuzz/**",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An HTTP/2 client and server"
documentation = "https://docs.rs/ntex-h2"
readme = "README.md"
keywords = [
    "http",
    "async",
    "non-blocking",
]
categories = [
    "asynchronous",
    "web-programming",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ntex-rs/ntex-h2"

[package.metadata.docs.rs]
features = ["ntex-net/tokio"]

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

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

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

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

[[test]]
name = "codec"
path = "tests/codec.rs"

[[test]]
name = "connection"
path = "tests/connection.rs"

[dependencies.bitflags]
version = "2"

[dependencies.fxhash]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.nanorand]
version = "0.7"
features = [
    "std",
    "wyrand",
]
default-features = false

[dependencies.ntex-bytes]
version = "0.1"

[dependencies.ntex-codec]
version = "0.6"

[dependencies.ntex-http]
version = "0.1"

[dependencies.ntex-io]
version = "2"

[dependencies.ntex-net]
version = "2"

[dependencies.ntex-service]
version = "3.3"

[dependencies.ntex-util]
version = "2.5"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.thiserror]
version = "1"

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

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

[dev-dependencies.ntex]
version = "2"
features = ["openssl"]

[dev-dependencies.ntex-tls]
version = "2"
features = ["openssl"]

[dev-dependencies.openssl]
version = "0.10"

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

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

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

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

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

[features]
default = []
unstable = []
