#traits #tokio #service

tokio-service

The core Service trait for Tokio

1 unstable release

Uses old Rust 2015

0.1.0 Jan 11, 2017

#1009 in #tokio

Download history 961/week @ 2023-11-23 713/week @ 2023-11-30 1019/week @ 2023-12-07 1033/week @ 2023-12-14 697/week @ 2023-12-21 688/week @ 2023-12-28 905/week @ 2024-01-04 1153/week @ 2024-01-11 1278/week @ 2024-01-18 1256/week @ 2024-01-25 1050/week @ 2024-02-01 1442/week @ 2024-02-08 1586/week @ 2024-02-15 1516/week @ 2024-02-22 1358/week @ 2024-02-29 1169/week @ 2024-03-07

5,829 downloads per month
Used in fewer than 51 crates

MIT/Apache

9KB
77 lines

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.


lib.rs:

Definition of the core Service trait to Tokio

More information can be found on the trait itself.

Dependencies

~53KB