2 releases
Uses new Rust 2024
new 0.0.2 | May 20, 2025 |
---|---|
0.0.1 | May 20, 2025 |
#1 in #kutil
190KB
3.5K
SLoC
Kutil for Rust
Various Rust utilities.
The word "kutil" means "do-it-yourselfer" in Czech.
Crates:
- kutil-cli:
- Handle exit codes in
main()
- Clap helpers
- Initialize logging (via tracing)
- The Debuggable trait is a
supercharged version of
Debug
- Handle exit codes in
- kutil-http:
- Easy access to headers
- Conditional HTTP and content negotiation
- Read body into bytes
- Response caching layer with integrated encoding (compression) for Tower
- kutil-io:
- Adapters and utilities for
Read
,Stream
, and Tokio'sAsyncRead
- IP address discovery for servers (dual-stack IPv6 and IPv4)
- Adapters and utilities for
- kutil-std:
- Fostering
- Error accumulation
- Fast collections
- Iterators, futures, and more
- kutil-transcoding:
- Async encoding/decoding for popular web compression formats
License
Like much of the Rust ecosystem, licensed under your choice of either of
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.
Dependencies
~19–47MB
~852K SLoC