Kayrx : Event-driven, Non-blocking I/O , Net, HTTP, Web platform for writing Asynchronous apps with Rust.
Info
Kayrx 诞生于 Actix-* 和 Tokio 可作为定制版(兼容Actix-web 2.0 - 查看 Examples)
Features
- Async runtime with Fiber.
- Multi-thread Server.
- IO, FS, Net (Tcp, Udp, Uds)
- Sync primitive and Channel
- Timer : timeouts, delays, and intervals.
- Codec : Decode, Encode, Framed
- Supported HTTP/1.x and HTTP/2.0 protocols
- Streaming and pipelining
- Keep-alive and slow requests handling
- Server/Client WebSockets support
- Transparent content compression/decompression (br, gzip, deflate)
- Configurable request router
- Multipart streams
- Static assets
- SSL support with Rustls
- Middlewares (Logger, CORS, etc)
- Asynchronous HTTP client
Ecosystem Component Librarys
Example
Dependencies:
[]
= "0.7"
Code:
extern crate kayrx;
use ;
async
async
查看更多 Examples
License
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)