| # 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" |
| name = "tower" |
| version = "0.4.11" |
| authors = ["Tower Maintainers <[email protected]>"] |
| description = "Tower is a library of modular and reusable components for building robust\nclients and servers.\n" |
| homepage = "https://github.com/tower-rs/tower" |
| documentation = "https://docs.rs/tower/0.4.11" |
| 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"] |
| |
| [[example]] |
| name = "tower-balance" |
| path = "examples/tower-balance.rs" |
| required-features = ["full"] |
| [dependencies.futures-core] |
| version = "0.3" |
| |
| [dependencies.futures-util] |
| version = "0.3" |
| features = ["alloc"] |
| optional = true |
| default-features = false |
| |
| [dependencies.hdrhistogram] |
| version = "6.0" |
| optional = true |
| |
| [dependencies.indexmap] |
| version = "1.0.2" |
| optional = true |
| |
| [dependencies.pin-project] |
| version = "1" |
| |
| [dependencies.pin-project-lite] |
| version = "0.2.7" |
| |
| [dependencies.rand] |
| version = "0.8" |
| features = ["small_rng"] |
| optional = true |
| |
| [dependencies.slab] |
| version = "0.4" |
| optional = true |
| |
| [dependencies.tokio] |
| version = "1" |
| features = ["sync"] |
| optional = true |
| |
| [dependencies.tokio-stream] |
| version = "0.1.0" |
| optional = true |
| |
| [dependencies.tokio-util] |
| version = "0.6.3" |
| optional = true |
| default-features = false |
| |
| [dependencies.tower-layer] |
| version = "0.3.1" |
| |
| [dependencies.tower-service] |
| version = "0.3" |
| |
| [dependencies.tracing] |
| version = "0.1.2" |
| optional = true |
| [dev-dependencies.futures] |
| version = "0.3" |
| |
| [dev-dependencies.hdrhistogram] |
| version = "6.0" |
| |
| [dev-dependencies.http] |
| version = "0.2" |
| |
| [dev-dependencies.quickcheck] |
| version = "0.9" |
| default-features = false |
| |
| [dev-dependencies.tokio] |
| version = "1" |
| features = ["macros", "sync", "test-util", "rt-multi-thread"] |
| |
| [dev-dependencies.tokio-stream] |
| version = "0.1" |
| |
| [dev-dependencies.tokio-test] |
| version = "0.4" |
| |
| [dev-dependencies.tower-test] |
| version = "0.4" |
| |
| [dev-dependencies.tracing-subscriber] |
| version = "0.2.14" |
| |
| [features] |
| balance = ["discover", "load", "ready-cache", "make", "rand", "slab", "tokio-stream"] |
| buffer = ["tokio/sync", "tokio/rt", "tokio-util", "tracing"] |
| default = ["log"] |
| discover = [] |
| filter = ["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 = ["tokio/time", "tokio/sync", "tokio-util", "tracing"] |
| load = ["tokio/time", "tracing"] |
| load-shed = [] |
| log = ["tracing/log"] |
| make = ["tokio/io-std", "futures-util"] |
| ready-cache = ["futures-util", "indexmap", "tokio/sync", "tracing"] |
| reconnect = ["make", "tokio/io-std", "tracing"] |
| retry = ["tokio/time"] |
| spawn-ready = ["futures-util", "tokio/sync", "tokio/rt", "util", "tracing"] |
| steer = ["futures-util"] |
| timeout = ["tokio/time"] |
| util = ["futures-util"] |