Files
cli/vendor/tower/Cargo.toml

321 lines
5.2 KiB
TOML

# 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.3"
authors = ["Tower Maintainers <team@tower-rs.com>"]
build = false
autolib = 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"]
[features]
balance = [
"discover",
"load",
"ready-cache",
"make",
"slab",
"util",
]
buffer = [
"tokio/sync",
"tokio/rt",
"tokio-util",
"tracing",
"pin-project-lite",
]
discover = [
"futures-core",
"pin-project-lite",
]
filter = [
"futures-util",
"pin-project-lite",
]
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",
"pin-project-lite",
]
load = [
"tokio/time",
"tracing",
"pin-project-lite",
]
load-shed = ["pin-project-lite"]
log = ["tracing/log"]
make = [
"pin-project-lite",
"tokio",
]
ready-cache = [
"futures-core",
"futures-util",
"indexmap",
"tokio/sync",
"tracing",
"pin-project-lite",
]
reconnect = [
"make",
"tracing",
]
retry = [
"tokio/time",
"util",
]
spawn-ready = [
"futures-util",
"tokio/sync",
"tokio/rt",
"util",
"tracing",
]
steer = []
timeout = [
"pin-project-lite",
"tokio/time",
]
tokio-stream = []
util = [
"futures-core",
"futures-util",
"pin-project-lite",
"sync_wrapper",
]
[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.9"
optional = true
[dependencies.sync_wrapper]
version = "1"
optional = true
[dependencies.tokio]
version = "1.6.2"
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"
features = ["std"]
default-features = false
[dev-dependencies.futures-util]
version = "0.3.22"
features = ["async-await-macro"]
default-features = false
[dev-dependencies.hdrhistogram]
version = "7.0"
default-features = false
[dev-dependencies.http]
version = "1"
[dev-dependencies.quickcheck]
version = "1"
[dev-dependencies.rand]
version = "0.9"
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.1"
[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