Go to file
Sean McArthur fec0042eea make and util: enable optional features for docs.rs 2019-12-16 11:57:48 -08:00
ci ci: Re-enable ci (#389) 2019-12-11 15:01:02 -05:00
tower move ServiceExt to tower-util crate 2019-12-11 12:13:51 -08:00
tower-balance remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-buffer remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-discover remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-filter remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-hedge remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-layer layer: Prepare 0.3.0 Release (#372) 2019-11-29 16:09:47 -05:00
tower-limit limit: Vendor `tokio::sync::Semaphore` (#388) 2019-12-11 15:08:42 -05:00
tower-load remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-load-shed remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-make make and util: enable optional features for docs.rs 2019-12-16 11:57:48 -08:00
tower-ready-cache remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-reconnect remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-retry remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-service make: Prepare 0.3 release and update docs (#370) 2019-11-29 15:44:03 -05:00
tower-spawn-ready remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-test remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-timeout remove service, make and layer path deps (#382) 2019-12-06 11:59:56 -05:00
tower-util make and util: enable optional features for docs.rs 2019-12-16 11:57:48 -08:00
.gitignore Initial commit 2016-08-26 16:26:03 -07:00
Cargo.toml Update the rest of the crates and upgrade ready cache to `std::f… (#379) 2019-12-05 14:21:47 -05:00
LICENSE Update the license for 2019 and tower contributors (#148) 2019-01-15 17:29:08 -05:00
README.md Remove v0.3.x branch note on readme (#368) 2019-11-29 11:19:15 -05:00
azure-pipelines.yml ci: Re-enable ci (#389) 2019-12-11 15:01:02 -05:00

README.md

Tower

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

Build Status Gitter

Overview

Tower aims to make it as easy as possible to build robust networking clients and servers. It is protocol agnostic, but is designed around a request / response pattern. If your protocol is entirely stream based, Tower may not be a good fit.

Project Layout

Tower consists of a number of components, each of which live in their own sub crates.

  • tower: The main user facing crate that provides batteries included tower services (docs).

  • tower-service: The foundational traits upon which Tower is built (docs).

  • tower-layer: The foundational trait to compose services together (docs).

  • tower-balance: A load balancer. Load is balanced across a number of services (docs).

  • tower-buffer: A buffering middleware. If the inner service is not ready to handle the next request, tower-buffer stores the request in an internal queue (docs).

  • tower-discover: Service discovery abstraction (docs).

  • tower-filter: Middleware that conditionally dispatch requests to the inner service based on a predicate (docs).

  • tower-limit: Middleware limiting the number of requests that are processed (docs).

  • tower-reconnect: Middleware that automatically reconnects the inner service when it becomes degraded (docs).

  • tower-retry: Middleware that retries requests based on a given Policy (docs).

  • tower-test: Testing utilies (docs).

  • tower-timeout: Middleware that applies a timeout to requests (docs).

  • tower-util: Miscellaneous additional utilities for Tower (docs).

Status

Currently, only tower-service, the foundational trait, has been released to crates.io. The rest of the library will be following shortly.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.