https://github.com/tower-rs/tower

middleware rust tower

Last synced: 6 days ago

Repository metadata:

async fn(Request) -> Result<Response, Error>


Owner metadata:


Committers metadata

Last synced: about 1 month ago

Total Commits: 568
Total Committers: 99
Avg Commits per committer: 5.737
Development Distribution Score (DDS): 0.845

Commits in past year: 15
Committers in past year: 10
Avg Commits per committer in past year: 1.5
Development Distribution Score (DDS) in past year: 0.733

Name Email Commits
Lucio Franco l****4@g****m 88
Carl Lerche me@c****m 86
Jon Gjengset j****n@t****m 62
Eliza Weisman e****a@b****o 59
David Pedersen d****n@g****m 48
Sean McArthur s****n@s****m 39
Oliver Gould v****r@b****o 36
David Barsky me@d****m 11
Alex Crichton a****x@a****m 11
Folyd l****w@g****m 5
Taiki Endo t****9@g****m 5
Glen De Cauwsemaecker c****t@g****m 4
Leonardo Yvens l****s@g****m 4
Brian Smith b****n@b****g 3
Aaron Turon a****n@m****m 3
Alex Leong a****x@b****o 3
Jonas Platte j****t@p****e 3
Bruce Guenter b****e@u****g 2
Dirk Stolle s****v@w****e 2
Eliza Weisman e****a@e****e 2
Gabe Jackson gj@m****e 2
Henry de Valence h****e@h****a 2
Luke Steensen l****n@g****m 2
Mackenzie Clark m****c@g****m 2
Pen Tree a****9@o****m 2
cppforliving c****g@g****m 2
kazk k****v@g****m 2
Toby Lawrence t****z 2
Spencer Bartholomew 3****t 2
Sam Lewis s****s 2
and 69 more...

Issue and Pull Request metadata

Last synced: about 1 month ago


Package metadata

cargo: tower-service

Trait representing an asynchronous, request / response based, client or server.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-service/
  • Licenses: MIT
  • Latest release: 0.3.3 (published 4 months ago)
  • Last Synced: 2024-12-16T06:31:15.742Z (6 days ago)
  • Versions: 9
  • Dependent Packages: 876
  • Dependent Repositories: 30,287
  • Downloads: 166,365,795 Total
  • Docker Downloads: 39,416,592
  • Rankings:
    • Downloads: 0.097%
    • Dependent repos count: 0.12%
    • Dependent packages count: 0.124%
    • Docker downloads count: 0.212%
    • Average: 0.998%
    • Stargazers count: 2.424%
    • Forks count: 3.009%
  • Maintainers (2)
cargo: tower

Tower is a library of modular and reusable components for building robust clients and servers.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower/
  • Licenses: MIT
  • Latest release: 0.5.2 (published 11 days ago)
  • Last Synced: 2024-12-16T13:34:11.457Z (6 days ago)
  • Versions: 25
  • Dependent Packages: 1,097
  • Dependent Repositories: 7,729
  • Downloads: 102,171,494 Total
  • Docker Downloads: 25,812,478
  • Rankings:
    • Dependent packages count: 0.066%
    • Downloads: 0.196%
    • Dependent repos count: 0.353%
    • Docker downloads count: 0.776%
    • Average: 1.119%
    • Stargazers count: 2.391%
    • Forks count: 2.93%
  • Maintainers (2)
cargo: tower-layer

Decorates a `Service` to allow easy composition between `Service`s.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-layer/
  • Licenses: MIT
  • Latest release: 0.3.3 (published 4 months ago)
  • Last Synced: 2024-12-15T14:31:36.260Z (7 days ago)
  • Versions: 7
  • Dependent Packages: 104
  • Dependent Repositories: 10,870
  • Downloads: 98,274,653 Total
  • Docker Downloads: 25,812,373
  • Rankings:
    • Downloads: 0.195%
    • Dependent repos count: 0.272%
    • Dependent packages count: 0.575%
    • Docker downloads count: 0.776%
    • Average: 1.209%
    • Stargazers count: 2.424%
    • Forks count: 3.009%
  • Maintainers (1)
cargo: tower-test

Utilities for writing client and server `Service` tests.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-test/
  • Licenses: MIT
  • Latest release: 0.4.0 (published almost 4 years ago)
  • Last Synced: 2024-12-16T13:34:18.080Z (6 days ago)
  • Versions: 6
  • Dependent Packages: 43
  • Dependent Repositories: 293
  • Downloads: 2,450,878 Total
  • Docker Downloads: 24,196,788
  • Rankings:
    • Dependent packages count: 1.078%
    • Downloads: 1.749%
    • Docker downloads count: 1.827%
    • Average: 2.06%
    • Dependent repos count: 2.385%
    • Stargazers count: 2.386%
    • Forks count: 2.938%
  • Maintainers (1)
cargo: tower-util

Utilities for working with `Service`.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-util/
  • Licenses: MIT
  • Latest release: 0.3.1 (published over 4 years ago)
  • Last Synced: 2024-12-16T13:34:06.140Z (6 days ago)
  • Versions: 6
  • Dependent Packages: 17
  • Dependent Repositories: 265
  • Downloads: 3,201,653 Total
  • Docker Downloads: 28,072
  • Rankings:
    • Downloads: 1.317%
    • Docker downloads count: 1.718%
    • Average: 2.179%
    • Dependent packages count: 2.234%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.484%
    • Forks count: 2.938%
  • Maintainers (1)
cargo: tower-load

Strategies for measuring the load of a service

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-load/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:18.376Z (6 days ago)
  • Versions: 3
  • Dependent Packages: 6
  • Dependent Repositories: 213
  • Downloads: 1,827,596 Total
  • Rankings:
    • Downloads: 1.624%
    • Stargazers count: 2.527%
    • Dependent repos count: 2.771%
    • Forks count: 2.982%
    • Average: 3.053%
    • Dependent packages count: 5.361%
  • Maintainers (1)
cargo: tower-make

Trait aliases for Services that produce specific types of Responses.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-make/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:18.604Z (6 days ago)
  • Versions: 6
  • Dependent Packages: 8
  • Dependent Repositories: 388
  • Downloads: 2,065,698 Total
  • Docker Downloads: 15
  • Rankings:
    • Downloads: 1.512%
    • Dependent repos count: 2.106%
    • Stargazers count: 2.386%
    • Forks count: 2.938%
    • Average: 3.337%
    • Dependent packages count: 4.234%
    • Docker downloads count: 6.849%
  • Maintainers (2)
cargo: tower-discover

Abstracts over service discovery strategies.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-discover/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:17.192Z (6 days ago)
  • Versions: 5
  • Dependent Packages: 4
  • Dependent Repositories: 226
  • Downloads: 2,391,558 Total
  • Docker Downloads: 202
  • Rankings:
    • Downloads: 1.386%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.697%
    • Forks count: 2.938%
    • Average: 3.591%
    • Docker downloads count: 4.723%
    • Dependent packages count: 7.415%
  • Maintainers (1)
cargo: tower-buffer

Buffer requests before dispatching to a `Service`.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-buffer/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:20.992Z (6 days ago)
  • Versions: 9
  • Dependent Packages: 2
  • Dependent Repositories: 226
  • Downloads: 2,359,659 Total
  • Docker Downloads: 202
  • Rankings:
    • Downloads: 1.401%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.697%
    • Forks count: 2.938%
    • Average: 4.398%
    • Docker downloads count: 4.723%
    • Dependent packages count: 12.244%
  • Maintainers (2)
cargo: tower-balance

Balance load across a set of uniform services.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-balance/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:14.052Z (6 days ago)
  • Versions: 4
  • Dependent Packages: 2
  • Dependent Repositories: 199
  • Downloads: 1,590,928 Total
  • Docker Downloads: 193
  • Rankings:
    • Downloads: 1.743%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.83%
    • Forks count: 2.938%
    • Average: 4.484%
    • Docker downloads count: 4.766%
    • Dependent packages count: 12.244%
  • Maintainers (1)
cargo: tower-limit

Limit maximum request rate to a `Service`.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-limit/
  • Licenses: MIT
  • Latest release: 0.3.1 (published over 4 years ago)
  • Last Synced: 2024-12-16T13:34:13.352Z (6 days ago)
  • Versions: 8
  • Dependent Packages: 2
  • Dependent Repositories: 226
  • Downloads: 2,394,339 Total
  • Docker Downloads: 9
  • Rankings:
    • Downloads: 1.389%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.697%
    • Forks count: 2.938%
    • Average: 4.608%
    • Docker downloads count: 5.993%
    • Dependent packages count: 12.244%
  • Maintainers (1)
cargo: tower-timeout

Apply a timeout to requests, ensuring completion within a fixed time duration.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-timeout/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:16.683Z (6 days ago)
  • Versions: 6
  • Dependent Packages: 1
  • Dependent Repositories: 225
  • Downloads: 2,352,374 Total
  • Docker Downloads: 9
  • Rankings:
    • Downloads: 1.403%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.701%
    • Forks count: 2.938%
    • Average: 5.599%
    • Docker downloads count: 5.993%
    • Dependent packages count: 18.172%
  • Maintainers (1)
cargo: tower-retry

Retry failed requests.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-retry/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:12.867Z (6 days ago)
  • Versions: 5
  • Dependent Packages: 1
  • Dependent Repositories: 225
  • Downloads: 2,304,749 Total
  • Docker Downloads: 9
  • Rankings:
    • Downloads: 1.416%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.701%
    • Forks count: 2.938%
    • Average: 5.601%
    • Docker downloads count: 5.993%
    • Dependent packages count: 18.172%
  • Maintainers (1)
cargo: tower-load-shed

Immediately reject requests if the inner service is not ready. This is also known as load-shedding.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-load-shed/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:09.066Z (6 days ago)
  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 225
  • Downloads: 2,299,710 Total
  • Docker Downloads: 9
  • Rankings:
    • Downloads: 1.418%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.701%
    • Forks count: 2.938%
    • Average: 5.601%
    • Docker downloads count: 5.993%
    • Dependent packages count: 18.172%
  • Maintainers (1)
cargo: tower-ready-cache

Caches a set of services

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-ready-cache/
  • Licenses: MIT
  • Latest release: 0.3.1 (published almost 5 years ago)
  • Last Synced: 2024-12-16T13:34:16.680Z (6 days ago)
  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 186
  • Downloads: 1,584,457 Total
  • Rankings:
    • Downloads: 1.747%
    • Stargazers count: 2.386%
    • Dependent repos count: 2.901%
    • Forks count: 2.938%
    • Average: 5.629%
    • Dependent packages count: 18.172%
  • Maintainers (1)
cargo: tower-reconnect

Automatically recreate a new `Service` instance when an error is encountered.

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-reconnect/
  • Licenses: MIT
  • Latest release: 0.0.0 (published about 7 years ago)
  • Last Synced: 2024-12-16T13:34:14.698Z (6 days ago)
  • Versions: 3
  • Dependent Packages: 1
  • Dependent Repositories: 8
  • Downloads: 18,690 Total
  • Docker Downloads: 193
  • Rankings:
    • Stargazers count: 2.386%
    • Forks count: 2.938%
    • Docker downloads count: 4.766%
    • Average: 8.113%
    • Dependent repos count: 8.329%
    • Downloads: 12.087%
    • Dependent packages count: 18.172%
  • Maintainers (1)
cargo: tower-spawn-ready

Drives service readiness via a spawned task

  • Homepage: https://github.com/tower-rs/tower
  • Documentation: https://docs.rs/tower-spawn-ready/
  • Licenses: MIT
  • Latest release: 0.3.0 (published about 5 years ago)
  • Last Synced: 2024-12-16T13:34:18.502Z (6 days ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 2,767 Total
  • Rankings:
    • Stargazers count: 2.812%
    • Forks count: 3.478%
    • Average: 23.051%
    • Dependent repos count: 29.318%
    • Dependent packages count: 33.812%
    • Downloads: 45.835%
  • Maintainers (1)

Dependencies

tower/Cargo.toml cargo
  • futures-core 0.3
  • futures-util 0.3
  • hdrhistogram 7.0
  • indexmap 1.0.2
  • pin-project-lite 0.2.7
  • rand 0.8
  • slab 0.4
  • tokio 1.6
  • tokio-stream 0.1.0
  • tokio-util 0.7.0
  • tower-layer 0.3.1
  • tower-service 0.3.1
  • tracing 0.1.2
tower-test/Cargo.toml cargo
  • futures-util 0.3
  • pin-project-lite 0.2
  • tokio 1.0
  • tokio-test 0.4
  • tower-layer 0.3
  • tower-service 0.3
.github/workflows/CI.yml actions
  • EmbarkStudios/cargo-deny-action v1 composite
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/checkout v1 composite
  • actions/checkout master composite
  • taiki-e/install-action cargo-hack composite
.github/workflows/publish.yml actions
  • actions-rs/cargo v1 composite
  • actions-rs/toolchain v1 composite
  • actions/checkout v1 composite
  • crazy-max/ghaction-github-pages v1 composite
.github/workflows/release.yml actions
  • actions/checkout v2 composite
  • taiki-e/create-gh-release-action v1.3.0 composite
tower-layer/Cargo.toml cargo
  • tower 0.4 development
  • tower-service 0.3.0 development
tower-service/Cargo.toml cargo
  • futures 0.3 development
  • http 0.2 development
  • tokio 1 development
  • tower-layer 0.3 development
Cargo.toml cargo
examples/Cargo.toml cargo