[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 "] 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"]