2 releases

0.1.1 Apr 7, 2024
0.1.0 Dec 29, 2023

#34 in #trillium

Download history 2/week @ 2024-07-28 10/week @ 2024-09-22 2/week @ 2024-09-29

64 downloads per month

MIT/Apache

63KB
938 lines

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:

Basic authentication for trillium.rs

use trillium_basic_auth::BasicAuth;
trillium_smol::run((
BasicAuth::new("trillium", "7r1ll1um").with_realm("rust"),
|conn: trillium::Conn| async move { conn.ok("authenticated") },
));

Dependencies

~7.5MB
~193K SLoC