-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
52 lines (46 loc) · 1.41 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "tower-async-bridge"
# When releasing to crates.io:
# - Update doc url
# - Cargo.toml
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.2.0"
authors = ["Glen De Cauwsemaecker <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/plabayo/tower-async"
homepage = "https://github.com/plabayo/tower-async"
description = """
Bridges a `tower-async` `Service` to be used within a `tower` (classic) environment,
and also the other way around.
"""
categories = ["asynchronous", "network-programming"]
edition = "2021"
[features]
default = []
full = [
"into_async",
]
into_async = ["tower/util"]
[dependencies]
async-lock = "3.1"
tower = { version = "0.4", optional = true }
tower-async-layer = { version = "0.2", path = "../tower-async-layer" }
tower-async-service = { version = "0.2", path = "../tower-async-service" }
tower-layer = { version = "0.3" }
tower-service = { version = "0.3" }
[dev-dependencies]
futures-core = "0.3"
hyper = { version = "1", features = ["full"] }
pin-project-lite = "0.2"
tokio = { version = "1.11", features = ["macros", "rt-multi-thread"] }
tokio-test = { version = "0.4" }
tower = { version = "0.4", features = ["full"] }
tower-async = { path = "../tower-async", features = ["full"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
features = ["full"]