1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2018" 14rust-version = "1.49.0" 15name = "tower" 16version = "0.4.13" 17authors = ["Tower Maintainers <[email protected]>"] 18description = """ 19Tower is a library of modular and reusable components for building robust 20clients and servers. 21""" 22homepage = "https://github.com/tower-rs/tower" 23documentation = "https://docs.rs/tower/0.4.13" 24readme = "README.md" 25keywords = [ 26 "io", 27 "async", 28 "non-blocking", 29 "futures", 30 "service", 31] 32categories = [ 33 "asynchronous", 34 "network-programming", 35] 36license = "MIT" 37repository = "https://github.com/tower-rs/tower" 38 39[package.metadata.docs.rs] 40all-features = true 41rustdoc-args = [ 42 "--cfg", 43 "docsrs", 44] 45 46[package.metadata.playground] 47features = ["full"] 48 49[[example]] 50name = "tower-balance" 51path = "examples/tower-balance.rs" 52required-features = ["full"] 53 54[dependencies.futures-core] 55version = "0.3" 56optional = true 57 58[dependencies.futures-util] 59version = "0.3" 60features = ["alloc"] 61optional = true 62default-features = false 63 64[dependencies.hdrhistogram] 65version = "7.0" 66optional = true 67default-features = false 68 69[dependencies.indexmap] 70version = "1.0.2" 71optional = true 72 73[dependencies.pin-project] 74version = "1" 75optional = true 76 77[dependencies.pin-project-lite] 78version = "0.2.7" 79optional = true 80 81[dependencies.rand] 82version = "0.8" 83features = ["small_rng"] 84optional = true 85 86[dependencies.slab] 87version = "0.4" 88optional = true 89 90[dependencies.tokio] 91version = "1.6" 92features = ["sync"] 93optional = true 94 95[dependencies.tokio-stream] 96version = "0.1.0" 97optional = true 98 99[dependencies.tokio-util] 100version = "0.7.0" 101optional = true 102default-features = false 103 104[dependencies.tower-layer] 105version = "0.3.1" 106 107[dependencies.tower-service] 108version = "0.3.1" 109 110[dependencies.tracing] 111version = "0.1.2" 112features = ["std"] 113optional = true 114default-features = false 115 116[dev-dependencies.futures] 117version = "0.3" 118 119[dev-dependencies.hdrhistogram] 120version = "7.0" 121default-features = false 122 123[dev-dependencies.http] 124version = "0.2" 125 126[dev-dependencies.lazy_static] 127version = "1.4.0" 128 129[dev-dependencies.pin-project-lite] 130version = "0.2.7" 131 132[dev-dependencies.tokio] 133version = "1.6.2" 134features = [ 135 "macros", 136 "sync", 137 "test-util", 138 "rt-multi-thread", 139] 140 141[dev-dependencies.tokio-stream] 142version = "0.1" 143 144[dev-dependencies.tokio-test] 145version = "0.4" 146 147[dev-dependencies.tower-test] 148version = "0.4" 149 150[dev-dependencies.tracing-subscriber] 151version = "0.3" 152features = [ 153 "fmt", 154 "ansi", 155] 156default-features = false 157 158[features] 159__common = [ 160 "futures-core", 161 "pin-project-lite", 162] 163balance = [ 164 "discover", 165 "load", 166 "ready-cache", 167 "make", 168 "rand", 169 "slab", 170] 171buffer = [ 172 "__common", 173 "tokio/sync", 174 "tokio/rt", 175 "tokio-util", 176 "tracing", 177] 178default = ["log"] 179discover = ["__common"] 180filter = [ 181 "__common", 182 "futures-util", 183] 184full = [ 185 "balance", 186 "buffer", 187 "discover", 188 "filter", 189 "hedge", 190 "limit", 191 "load", 192 "load-shed", 193 "make", 194 "ready-cache", 195 "reconnect", 196 "retry", 197 "spawn-ready", 198 "steer", 199 "timeout", 200 "util", 201] 202hedge = [ 203 "util", 204 "filter", 205 "futures-util", 206 "hdrhistogram", 207 "tokio/time", 208 "tracing", 209] 210limit = [ 211 "__common", 212 "tokio/time", 213 "tokio/sync", 214 "tokio-util", 215 "tracing", 216] 217load = [ 218 "__common", 219 "tokio/time", 220 "tracing", 221] 222load-shed = ["__common"] 223log = ["tracing/log"] 224make = [ 225 "futures-util", 226 "pin-project-lite", 227 "tokio/io-std", 228] 229ready-cache = [ 230 "futures-core", 231 "futures-util", 232 "indexmap", 233 "tokio/sync", 234 "tracing", 235 "pin-project-lite", 236] 237reconnect = [ 238 "make", 239 "tokio/io-std", 240 "tracing", 241] 242retry = [ 243 "__common", 244 "tokio/time", 245] 246spawn-ready = [ 247 "__common", 248 "futures-util", 249 "tokio/sync", 250 "tokio/rt", 251 "util", 252 "tracing", 253] 254steer = [] 255timeout = [ 256 "pin-project-lite", 257 "tokio/time", 258] 259util = [ 260 "__common", 261 "futures-util", 262 "pin-project", 263] 264