1[package]
2name = "h2"
3# When releasing to crates.io:
4# - Update doc URL.
5#   - html_root_url.
6# - Update CHANGELOG.md.
7# - Create git tag
8version = "0.3.4"
9license = "MIT"
10authors = [
11  "Carl Lerche <me@carllerche.com>",
12  "Sean McArthur <sean@seanmonstar.com>",
13]
14description = "An HTTP/2.0 client and server"
15documentation = "https://docs.rs/h2/0.3.4"
16repository = "https://github.com/hyperium/h2"
17readme = "README.md"
18keywords = ["http", "async", "non-blocking"]
19categories = ["asynchronous", "web-programming", "network-programming"]
20exclude = ["fixtures/**", "ci/**"]
21edition = "2018"
22
23[features]
24# Enables `futures::Stream` implementations for various types.
25stream = []
26
27# Enables **unstable** APIs. Any API exposed by this feature has no backwards
28# compatibility guarantees. In other words, you should not use this feature for
29# anything besides experimentation. Definitely **do not** publish a crate that
30# depends on this feature.
31unstable = []
32
33[workspace]
34members = [
35    "tests/h2-fuzz",
36    "tests/h2-tests",
37    "tests/h2-support",
38    "util/genfixture",
39    "util/genhuff",
40]
41
42[dependencies]
43futures-core = { version = "0.3", default-features = false }
44futures-sink = { version = "0.3", default-features = false }
45futures-util = { version = "0.3", default-features = false }
46tokio-util = { version = "0.6", features = ["codec"] }
47tokio = { version = "1", features = ["io-util"] }
48bytes = "1"
49http = "0.2"
50tracing = { version = "0.1.21", default-features = false, features = ["std"] }
51fnv = "1.0.5"
52slab = "0.4.2"
53indexmap = { version = "1.5.2", features = ["std"] }
54
55[dev-dependencies]
56
57# Fuzzing
58quickcheck = { version = "0.4.1", default-features = false }
59rand = "0.3.15"
60
61# HPACK fixtures
62hex = "0.2.0"
63walkdir = "1.0.0"
64serde = "1.0.0"
65serde_json = "1.0.0"
66
67# Examples
68tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "net"] }
69env_logger = { version = "0.5.3", default-features = false }
70rustls = "0.19"
71tokio-rustls = "0.22"
72webpki = "0.21"
73webpki-roots = "0.21"
74
75[package.metadata.docs.rs]
76features = ["stream"]
77