 [](https://docs.rs/kayrx) [](https://crates.io/crates/kayrx) 
Kayrx : Event-driven, Non-blocking I/O , Net, HTTP, Web platform for writing Asynchronous apps with Rust.
Kayrx 诞生于 Actix-* 和 Tokio 可作为定制版(兼容Actix-web 2.0 - 查看 Examples)
Dependencies:
toml
[dependencies]
kayrx = "0.7"
Code:
```rust
extern crate kayrx;
use kayrx::web::{web, App, HttpServer, Responder};
async fn index(info: web::Path<(u32, String)>) -> impl Responder { format!("Hello {}! id:{}", info.1, info.0) }
async fn main() -> std::io::Result<()> { HttpServer::new(|| App::new().service(index)) .bind("127.0.0.1:8080")? .run() .await } ```
查看更多 Examples
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)