Shio

Rust Crates.io Crates.io Docs.rs IRC

Shio is a fast, simple, and asynchronous micro web-framework for Rust.

WARNING: Shio is at 0.0.x which means the API is highly unstable. Use at your own risk. See #1 to discuss our general direction.

Usage

toml [dependencies] shio = "0.0.4"

Example

```rust use shio::prelude::*;

fn helloworld(: Context) -> Response { Response::with("Hello World\n") }

fn main() { Shio::default().route((Method::Get, "/", hello_world)).run(":7878").unwrap(); } ```

See the ./examples for more usage information.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.