feat(lib): update Tokio, bytes, http, h2, and http-body
This commit is contained in:
39
Cargo.toml
39
Cargo.toml
@@ -20,35 +20,28 @@ include = [
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
bytes = "0.4.6"
|
||||
futures-core = "0.3.1"
|
||||
futures-channel = "0.3.1"
|
||||
futures-util = "0.3.1"
|
||||
http = "0.1.15"
|
||||
http-body = "=0.2.0-alpha.3"
|
||||
bytes = "0.5"
|
||||
futures-core = { version = "0.3", default-features = false }
|
||||
futures-channel = "0.3"
|
||||
futures-util = { version = "0.3", default-features = false }
|
||||
http = "0.2"
|
||||
http-body = "0.2"
|
||||
httparse = "1.0"
|
||||
h2 = "=0.2.0-alpha.3"
|
||||
iovec = "0.1"
|
||||
h2 = "0.2"
|
||||
itoa = "0.4.1"
|
||||
log = "0.4"
|
||||
pin-project = "0.4"
|
||||
time = "0.1"
|
||||
tower-service = "=0.3.0-alpha.2"
|
||||
tokio-executor = "=0.2.0-alpha.6"
|
||||
tokio-io = "=0.2.0-alpha.6"
|
||||
tokio-sync = "=0.2.0-alpha.6"
|
||||
tokio = { version = "0.2", features = ["sync"] }
|
||||
want = "0.3"
|
||||
|
||||
# Optional
|
||||
|
||||
net2 = { version = "0.2.32", optional = true }
|
||||
tokio = { version = "=0.2.0-alpha.6", optional = true, default-features = false, features = ["rt-full"] }
|
||||
tokio-net = { version = "=0.2.0-alpha.6", optional = true, features = ["tcp"] }
|
||||
tokio-timer = { version = "=0.3.0-alpha.6", optional = true }
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
futures-util-a19 = { version = "=0.3.0-alpha.19", package = "futures-util-preview" }
|
||||
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }
|
||||
matches = "0.1"
|
||||
num_cpus = "1.0"
|
||||
pretty_env_logger = "0.3"
|
||||
@@ -56,9 +49,8 @@ spmc = "0.3"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
serde_json = "1.0"
|
||||
tokio = "=0.2.0-alpha.6" # using #[tokio::test] attributes
|
||||
tokio-fs = "=0.2.0-alpha.6"
|
||||
tokio-test = "=0.2.0-alpha.6"
|
||||
tokio = { version = "0.2.2", features = ["fs", "macros", "rt-util", "sync", "time", "test-util"] }
|
||||
tokio-test = "0.2"
|
||||
url = "1.0"
|
||||
|
||||
[features]
|
||||
@@ -68,13 +60,13 @@ default = [
|
||||
]
|
||||
runtime = [
|
||||
"tcp",
|
||||
"tokio",
|
||||
"tokio/time",
|
||||
]
|
||||
tcp = [
|
||||
"net2",
|
||||
"tokio-executor/blocking",
|
||||
"tokio-net",
|
||||
"tokio-timer",
|
||||
"tokio/blocking",
|
||||
"tokio/tcp",
|
||||
"tokio/time",
|
||||
]
|
||||
|
||||
# unstable features
|
||||
@@ -206,3 +198,4 @@ required-features = ["runtime", "unstable-stream"]
|
||||
name = "server"
|
||||
path = "tests/server.rs"
|
||||
required-features = ["runtime"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user