Go to file
Aaron Turon 5b63058129 Finalize tokio-service APIs for 0.1
A bit of tidying up ahead of the 0.1 release:

- Drop `poll_ready` for now, given that we're uncertain about the
  overall backpressure story, and it can be added easily as a defaulted
  method later on. Backpressure should be a major goal in an upcoming
  release.

- Rename `SimpleService` to `FnService`, matching the `Fn*` traits.

- Rename `NewService::Item` to `NewService::Instance`, for greater
  clarity about their relationship.
2016-11-08 14:19:53 -08:00
src Finalize tokio-service APIs for 0.1 2016-11-08 14:19:53 -08:00
.gitignore Initial commit 2016-08-26 16:26:03 -07:00
.travis.yml Initial commit 2016-08-26 16:26:03 -07:00
Cargo.toml Set futures version number to match the other repos 2016-09-09 20:09:19 -07:00
LICENSE-APACHE Initial commit 2016-08-26 16:26:03 -07:00
LICENSE-MIT Initial commit 2016-08-26 16:26:03 -07:00
README.md Add a README 2016-08-26 16:27:58 -07:00
appveyor.yml pass --target on appveyor 2016-10-10 16:43:11 -07:00

README.md

tokio-service

Definition of the core Service trait in Tokio

Build Status Build status

Documentation

Usage

First, add this to your Cargo.toml:

[dependencies]
tokio-service = { git = "https://github.com/tokio-rs/tokio-service" }

Next, add this to your crate:

extern crate tokio_service;

License

tokio-service is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.