github

tokio-rs / tokio

  • пятница, 5 августа 2016 г. в 03:14:23
https://github.com/tokio-rs/tokio

Rust
A network application framework for Rust



Tokio

Tokio is a network application framework for rapid development and highly scalable production deployments of clients and servers.

API documentation

Usage

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!

Built with Tokio

Tokio Line

An example of how to implement a client and server with Tokio. The protocol consists of UTF-8 strings where messages are \n terminated.

Tokio Hyper

A Tokio HTTP server built on top of Hyper. Full Tokio integration is coming to Hyper in version 0.10.

Tokio Redis

A basic Redis client built with Tokio.

License

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.