# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.64.0" name = "tower" version = "0.5.1" authors = ["Tower Maintainers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Tower is a library of modular and reusable components for building robust clients and servers. """ homepage = "https://github.com/tower-rs/tower" readme = "README.md" keywords = [ "io", "async", "non-blocking", "futures", "service", ] categories = [ "asynchronous", "network-programming", ] license = "MIT" repository = "https://github.com/tower-rs/tower" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] features = ["full"] [lib] name = "tower" path = "src/lib.rs" [[example]] name = "tower-balance" path = "examples/tower-balance.rs" required-features = ["full"] [[test]] name = "balance" path = "tests/balance/main.rs" [[test]] name = "buffer" path = "tests/buffer/main.rs" [[test]] name = "builder" path = "tests/builder.rs" [[test]] name = "hedge" path = "tests/hedge/main.rs" [[test]] name = "limit" path = "tests/limit/main.rs" [[test]] name = "load_shed" path = "tests/load_shed/main.rs" [[test]] name = "ready_cache" path = "tests/ready_cache/main.rs" [[test]] name = "retry" path = "tests/retry/main.rs" [[test]] name = "spawn_ready" path = "tests/spawn_ready/main.rs" [[test]] name = "steer" path = "tests/steer/main.rs" [[test]] name = "support" path = "tests/support.rs" [[test]] name = "util" path = "tests/util/main.rs" [dependencies.futures-core] version = "0.3.22" optional = true [dependencies.futures-util] version = "0.3.22" features = ["alloc"] optional = true default-features = false [dependencies.hdrhistogram] version = "7.0" optional = true default-features = false [dependencies.indexmap] version = "2.0.2" optional = true [dependencies.pin-project-lite] version = "0.2.7" optional = true [dependencies.slab] version = "0.4" optional = true [dependencies.sync_wrapper] version = "0.1.1" optional = true [dependencies.tokio] version = "1.6.2" features = ["sync"] optional = true [dependencies.tokio-stream] version = "0.1.0" optional = true [dependencies.tokio-util] version = "0.7.0" optional = true default-features = false [dependencies.tower-layer] version = "0.3.3" [dependencies.tower-service] version = "0.3.3" [dependencies.tracing] version = "0.1.2" features = ["std"] optional = true default-features = false [dev-dependencies.futures] version = "0.3.22" [dev-dependencies.hdrhistogram] version = "7.0" default-features = false [dev-dependencies.http] version = "0.2" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.pin-project-lite] version = "0.2.7" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.rand] version = "0.8" features = ["small_rng"] [dev-dependencies.tokio] version = "1.6.2" features = [ "macros", "sync", "test-util", "rt-multi-thread", ] [dev-dependencies.tokio-stream] version = "0.1.0" [dev-dependencies.tokio-test] version = "0.4" [dev-dependencies.tower-test] version = "0.4" [dev-dependencies.tracing] version = "0.1.2" features = ["std"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "ansi", ] default-features = false [features] __common = [ "futures-core", "pin-project-lite", ] balance = [ "discover", "load", "ready-cache", "make", "slab", "util", ] buffer = [ "__common", "tokio/sync", "tokio/rt", "tokio-util", "tracing", ] discover = ["__common"] filter = [ "__common", "futures-util", ] full = [ "balance", "buffer", "discover", "filter", "hedge", "limit", "load", "load-shed", "make", "ready-cache", "reconnect", "retry", "spawn-ready", "steer", "timeout", "util", ] hedge = [ "util", "filter", "futures-util", "hdrhistogram", "tokio/time", "tracing", ] limit = [ "__common", "tokio/time", "tokio/sync", "tokio-util", "tracing", ] load = [ "__common", "tokio/time", "tracing", ] load-shed = ["__common"] log = ["tracing/log"] make = [ "futures-util", "pin-project-lite", "tokio/io-std", ] ready-cache = [ "futures-core", "futures-util", "indexmap", "tokio/sync", "tracing", "pin-project-lite", ] reconnect = [ "make", "tokio/io-std", "tracing", ] retry = [ "__common", "tokio/time", "util", ] spawn-ready = [ "__common", "futures-util", "tokio/sync", "tokio/rt", "util", "tracing", ] steer = [] timeout = [ "pin-project-lite", "tokio/time", ] util = [ "__common", "futures-util", "pin-project-lite", "sync_wrapper", ]