5 releases

0.2.3 Apr 7, 2024
0.2.2 Jan 2, 2024
0.2.1 Mar 10, 2023
0.2.0 Mar 9, 2023
0.1.0 Oct 10, 2021

#2027 in HTTP server

Download history 521/week @ 2024-11-29 1037/week @ 2024-12-06 241/week @ 2024-12-13 219/week @ 2024-12-20 65/week @ 2024-12-27 208/week @ 2025-01-03 616/week @ 2025-01-10 316/week @ 2025-01-17 432/week @ 2025-01-24 803/week @ 2025-01-31 208/week @ 2025-02-07 387/week @ 2025-02-14 713/week @ 2025-02-21 710/week @ 2025-02-28 538/week @ 2025-03-07 770/week @ 2025-03-14

2,732 downloads per month

MIT/Apache

83KB
1.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 handlers for etag and last-modified-since headers.

This crate provides three handlers: Etag, Modified, and CachingHeaders, as well as a CachingHeadersExt that extends trillium::Headers with some accessors.

Unless you are sure that you don't want either etag or last-modified behavior, please use the combined CachingHeaders handler.

Dependencies

~7.5MB
~192K SLoC