• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.63"
15name = "h2"
16version = "0.4.4"
17authors = [
18    "Carl Lerche <me@carllerche.com>",
19    "Sean McArthur <sean@seanmonstar.com>",
20]
21exclude = [
22    "fixtures/**",
23    "ci/**",
24]
25description = "An HTTP/2 client and server"
26documentation = "https://docs.rs/h2"
27readme = "README.md"
28keywords = [
29    "http",
30    "async",
31    "non-blocking",
32]
33categories = [
34    "asynchronous",
35    "web-programming",
36    "network-programming",
37]
38license = "MIT"
39repository = "https://github.com/hyperium/h2"
40
41[package.metadata.docs.rs]
42features = ["stream"]
43
44[dependencies.bytes]
45version = "1"
46
47[dependencies.fnv]
48version = "1.0.5"
49
50[dependencies.futures-core]
51version = "0.3"
52default-features = false
53
54[dependencies.futures-sink]
55version = "0.3"
56default-features = false
57
58[dependencies.futures-util]
59version = "0.3"
60default-features = false
61
62[dependencies.http]
63version = "1"
64
65[dependencies.indexmap]
66version = "2"
67features = ["std"]
68
69[dependencies.slab]
70version = "0.4.2"
71
72[dependencies.tokio]
73version = "1"
74features = ["io-util"]
75
76[dependencies.tokio-util]
77version = "0.7.1"
78features = [
79    "codec",
80    "io",
81]
82
83[dependencies.tracing]
84version = "0.1.35"
85features = ["std"]
86default-features = false
87
88[dev-dependencies.env_logger]
89version = "0.10"
90default-features = false
91
92[dev-dependencies.hex]
93version = "0.4.3"
94
95[dev-dependencies.quickcheck]
96version = "1.0.3"
97default-features = false
98
99[dev-dependencies.rand]
100version = "0.8.4"
101
102[dev-dependencies.serde]
103version = "1.0.0"
104
105[dev-dependencies.serde_json]
106version = "1.0.0"
107
108[dev-dependencies.tokio]
109version = "1"
110features = [
111    "rt-multi-thread",
112    "macros",
113    "sync",
114    "net",
115]
116
117[dev-dependencies.tokio-rustls]
118version = "0.24"
119
120[dev-dependencies.walkdir]
121version = "2.3.2"
122
123[dev-dependencies.webpki-roots]
124version = "0.25"
125
126[features]
127stream = []
128unstable = []
129