12 releases

0.3.4 Jan 2, 2024
0.3.2 Sep 13, 2023
0.3.1 May 3, 2023
0.2.1 Dec 13, 2021
0.1.4 Jul 26, 2021

#565 in HTTP server

Download history 273/week @ 2023-11-03 690/week @ 2023-11-10 590/week @ 2023-11-17 298/week @ 2023-11-24 439/week @ 2023-12-01 692/week @ 2023-12-08 668/week @ 2023-12-15 319/week @ 2023-12-22 1131/week @ 2023-12-29 803/week @ 2024-01-05 976/week @ 2024-01-12 1050/week @ 2024-01-19 1305/week @ 2024-01-26 1296/week @ 2024-02-02 991/week @ 2024-02-09 1097/week @ 2024-02-16

4,738 downloads per month
Used in 5 crates

MIT/Apache

380KB
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 tokio

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

Dependencies

~10–21MB
~353K SLoC