7 unstable releases
0.6.1 | Oct 25, 2024 |
---|---|
0.6.0 | Feb 4, 2024 |
0.5.0 | Aug 29, 2022 |
0.4.1 | May 26, 2022 |
0.3.0 | Nov 5, 2021 |
#726 in HTTP server
204 downloads per month
Used in 9 crates
(4 directly)
85KB
2K
SLoC
Kvarn utils
This is a collection of HTTP utilities used in the Kvarn web server.
Some miscellaneous Rust utilities are also housed here.
See doc.kvarn.org for the most up-to-date docs.
lib.rs
:
Utility functions for web application development.
This includes
- commonly used
chars
, - a
build_bytes
macro to create aBytes
from bytes slices with one allocation, WriteableBytes
to optimize performance when creating a newBytes
of unknown length,hardcoded_error_body
to get a hard-coded error response.CleanDebug
and it's traitAsCleanDebug
to get aDebug
implementation wired to the item'sDisplay
implementation.
Dependencies
~1MB
~20K SLoC