11 releases

0.4.0 Apr 4, 2024
0.3.3 Jan 2, 2024
0.3.1 Sep 13, 2023
0.3.0 Apr 21, 2023
0.1.2 Jun 21, 2021

#32 in #trillium

Download history 7/week @ 2024-02-21 47/week @ 2024-02-28 26/week @ 2024-03-06 13/week @ 2024-03-13 6/week @ 2024-03-20 10/week @ 2024-03-27 134/week @ 2024-04-03 165/week @ 2024-04-10 28/week @ 2024-04-17 75/week @ 2024-04-24 11/week @ 2024-05-01 3/week @ 2024-05-22 51/week @ 2024-05-29

54 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

385KB
7.5K SLoC

Welcome to Trillium!

📖 Guide 📖

The guide provides an architectural overview and lay of the land connecting the trillium crates.

📑 Rustdocs 📑

The rustdocs represent the best way to learn about any of trillium's individual crates and the specific interfaces.




Legal:

Licensed under either of

at your option.

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.


lib.rs:

Trillium server adapter for async-std

fn main() {
trillium_async_std::run(|conn: trillium::Conn| async move {
conn.ok("hello async-std")
});
}
#[async_std::main]
async fn main() {
trillium_async_std::run_async(|conn: trillium::Conn| async move {
conn.ok("hello async-std")
}).await;
}

Dependencies

~12–26MB
~428K SLoC