2 releases

new 0.1.1 Apr 7, 2024
0.1.0 Dec 29, 2023

#6 in #basic-auth

Download history 8/week @ 2024-02-26 129/week @ 2024-04-01

129 downloads per month

MIT/Apache

63KB
935 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
~191K SLoC