Files
h2/Cargo.toml
Brian Smith b6724f7d7a Upgrade to env_logger 0.5 & log 0.4; reduce related dependencies (#226)
Upgrade to env_logger 0.5 and log 0.4 so that projects that use those
versions don't have to build both those versions and the older ones
that h2 is currently using.

Don't enable the regex support in env_logger. Applications that want
the regex support can enable it themselves; this will happen
automatically when they add their env_logger dependency.

Disable the env_logger dependency in quickcheck.

The result of this is that there are fewer dependencies. For example,
regex and its dependencies are no longer required at all, as can be
seen by observing the changes to the Cargo.lock. That said,
env_logger 0.5 does add more dependencies itself; however it seems
applications are going to use env_logger 0.5 anyway so this is still
a net gain.

Submitted on behalf of Buoyant, Inc.

Signed-off-by: Brian Smith <brian@briansmith.org>
2018-02-23 20:25:42 -08:00

60 lines
1.4 KiB
TOML

[package]
name = "h2"
version = "0.1.0" # remember to update html_root_url
license = "MIT"
authors = ["Carl Lerche <me@carllerche.com>"]
description = "An HTTP/2.0 client and server"
documentation = "https://docs.rs/h2"
homepage = "https://github.com/carllerche/h2"
repository = "https://github.com/carllerche/h2"
readme = "README.md"
keywords = ["http", "async", "non-blocking"]
categories = ["asynchronous", "web-programming", "network-programming"]
[badges.travis-ci]
repository = "carllerche/h2"
branch = "master"
[features]
# Enables **unstable** APIs. Any API exposed by this feature has no backwards
# compatibility guarantees. In other words, you should not use this feature for
# anything besides experimentation. Definitely **do not** publish a crate that
# depends on this feature.
unstable = []
[workspace]
[dependencies]
futures = "0.1"
tokio-io = "0.1.4"
bytes = "0.4"
http = "0.1"
byteorder = "1.0"
log = "0.4.1"
fnv = "1.0.5"
slab = "0.4.0"
string = "0.1"
ordermap = "0.2"
[dev-dependencies]
tokio-timer = "0.1"
# Fuzzing
quickcheck = { version = "0.4.1", default-features = false }
rand = "0.3.15"
# HPACK fixtures
hex = "0.2.0"
walkdir = "1.0.0"
serde = "1.0.0"
serde_json = "1.0.0"
# Akamai example
tokio-core = "0.1"
env_logger = { version = "0.5.3", default-features = false }
rustls = "0.12"
tokio-rustls = "0.5.0"
webpki = "0.18.0-alpha"
webpki-roots = "0.14"