Expand description
§Kutil
Rust utilities collection.
The word “kutil” means “do-it-yourselfer” in Czech.
Highlights:
- cli:
- http:
- Easy access to headers
- Conditional HTTP and content negotiation
- Read body into bytes
- io:
- Adapters and utilities for
Read,Stream, and Tokio’sAsyncRead - IP address discovery for servers (dual-stack IPv6 and IPv4)
- Adapters and utilities for
- std:
- Fostering
- Error accumulation
- Fast collections
- Iterators, futures, and more
- 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.
All code and documentation was written by humans. We do not accept “AI”-generated contributions.
Modules§
- cli
cli - CLI utilities.
- http
http - HTTP utilities.
- io
io - I/O utilities.
- python
python - pyo3 utilities.
- std
std - Standard library utilities.
- tls
tls - TLS utilities.
- transcoding
transcoding - Transcoding utilities.
Macros§
- capture_
async - Captures async code into a CapturedFuture.
- defer
- Defer execution to the end of the scope.
- delegate_
newtype_ of_ foster_ byte_ string_ vector - Delegates traits to a FosterImmutableStringVector newtype.
- delegate_
newtype_ of_ foster_ immutable_ string - Delegates traits to a FosterImmutableString newtype.
- delegate_
newtype_ of_ foster_ string - Delegates traits to a FosterString newtype.
- delegate_
newtype_ of_ foster_ string_ vector - Delegates traits to a FosterStringVector newtype.
- impl_
as_ any_ ref - Implement AsAnyRef.
- str_
from_ char - Converts char to &str (on the stack).
- string_
error - Define a String error type.