2 releases

0.1.1 Apr 7, 2024
0.1.0 Dec 29, 2023

#6 in #basic-auth

Download history 6/week @ 2024-02-23 2/week @ 2024-03-01 27/week @ 2024-03-29 119/week @ 2024-04-05

146 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