13 releases

0.4.0 Apr 4, 2024
0.3.4 Jan 2, 2024
0.3.2 Sep 13, 2023
0.3.1 May 3, 2023
0.1.4 Jul 26, 2021

#854 in Asynchronous

Download history 253/week @ 2023-12-22 1013/week @ 2023-12-29 725/week @ 2024-01-05 891/week @ 2024-01-12 975/week @ 2024-01-19 1221/week @ 2024-01-26 1228/week @ 2024-02-02 919/week @ 2024-02-09 990/week @ 2024-02-16 578/week @ 2024-02-23 785/week @ 2024-03-01 1056/week @ 2024-03-08 1499/week @ 2024-03-15 1391/week @ 2024-03-22 1689/week @ 2024-03-29 1616/week @ 2024-04-05

6,295 downloads per month
Used in 5 crates

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 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–22MB
~356K SLoC