yaws-rs / yaws

Oh No! Yet Another Web Server strikes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yaws

CI Crates.io Docs License License MSRV

Hi I'm Yaws and I swim where the hyper doesn't

For now I am just trying out some tricks..

Run

Lunatic Flavor:

$ RUSTFLAGS="--cfg yaws_flavor=\"lunatic\"" cargo run --bin yaws --target wasm32-wasi

io_uring Flavor:

$ RUSTFLAGS="--cfg yaws_flavor=\"io_uring\"" cargo run --bin yaws

Tricks

yaws Library

yaws has two flavors available controlled via cfg(yaws_flawor)

  • cfg(yaws_flavor = "io_uring") - yaws-run-uring - TODO
  • cfg(yaws_flavor = "lunatic") - yaws-run-lunatic - TODO

yaws Flavor: io_uring

This will use io_uring flavor of Yaws Host side

Goal: Fast I/O

yaws Flavor: lunatic

This will use the Lunatic flavor of Yaws inside Lunatic VM

Goal: Run inside Lunatic VM

yaws Spec Compliance

yaws aims to be h1 and h2 spec compliant

  • yaws-spec-h1 - TODO
  • yaws-spec-h2 - TODO

License

Licensed under either of:

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.

About

Oh No! Yet Another Web Server strikes

License:Apache License 2.0


Languages

Language:Rust 100.0%