tower-load-shed 0.3.0

Immediately reject requests if the inner service is not ready. This is also known as load-shedding.
Documentation
Build #206784 2019-12-19T23:16:49.494615+00:00
# rustc version
rustc 1.41.0-nightly (19bd93467 2019-12-18)# docs.rs version
docsrs 0.6.0 (1ae73e9 2019-12-19)# build log
[INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/tower-load-shed-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/tower-load-shed-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20191218-1.41.0-nightly-19bd93467 --static-root-path / --extern-html-root-url pin_project=https://docs.rs/pin-project/0.4.6 --extern-html-root-url tower_service=https://docs.rs/tower-service/0.3.0 --extern-html-root-url tower_layer=https://docs.rs/tower-layer/0.3.0 --extern-html-root-url tower_test=https://docs.rs/tower-test/0.3.0 --extern-html-root-url futures_core=https://docs.rs/futures-core/0.3.1 --extern-html-root-url tokio=https://docs.rs/tokio/0.2.6 --extern-html-root-url tokio_test=https://docs.rs/tokio-test/0.2.0" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 08fcd8f32994f6aa152da380c6c34fa856d9de3ebeed6895f23ca1c10ee23e38
[INFO] running `"docker" "start" "-a" "08fcd8f32994f6aa152da380c6c34fa856d9de3ebeed6895f23ca1c10ee23e38"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking tower-layer v0.3.0
[INFO] [stderr]     Checking futures-core v0.3.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[INFO] [stderr]     Checking pin-project v0.4.6
[INFO] [stderr]  Documenting tower-load-shed v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.44s
[INFO] running `"docker" "inspect" "08fcd8f32994f6aa152da380c6c34fa856d9de3ebeed6895f23ca1c10ee23e38"`
[INFO] running `"docker" "rm" "-f" "08fcd8f32994f6aa152da380c6c34fa856d9de3ebeed6895f23ca1c10ee23e38"`
[INFO] [stdout] 08fcd8f32994f6aa152da380c6c34fa856d9de3ebeed6895f23ca1c10ee23e38