tokio-rs / tokio
- пятница, 5 августа 2016 г. в 03:14:23
Rust
A network application framework for Rust
Tokio is a network application framework for rapid development and highly scalable production deployments of clients and servers.
First, add this to your Cargo.toml
:
[dependencies]
tokio = { git = "https://github.com/tokio-rs/tokio" }
Next, add this to your crate:
extern crate tokio;
And then, use Tokio!
An example of how to implement a client and server with Tokio. The
protocol consists of UTF-8 strings where messages are \n
terminated.
A Tokio HTTP server built on top of Hyper. Full Tokio integration is coming to Hyper in version 0.10.
A basic Redis client built with Tokio.
Tokio 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.