Cargo Features
Kutil has no features set by default.
[dependencies]
kutil = { version = "0.0.5", features = ["cli", "clap", "http", "acme", "axum", "file", "moka", "tls", "tower", "io", "blocking", "async", "std", "bimap", "fast_collections", "serde", "immutable", "transcoding", "derive"] }
- cli
-
CLI utilities.
Enables anstream, owo-colors, time, tracing, tracing-journald, and tracing-subscriber
tracing:
cli, http, transcoding
Affects
kutil::cli… - clap
-
Clap utilities.
Enables anstyle, build-info, build-info-build, clap, clap_complete_command, and clap_mangen
build-info-build:
cli
Affects
cli::clap… - http = async, derive, fast_collections, immutable, io, std, transcoding
-
HTTP utilities.
Enables hyper =1.6.0, moka, pin-project, and thiserror
hyper:
temporary hack: axum breaks with hyper 1.7.0
and tokio, tokio-util, tracing, url, and urlencoding
tokio:
http, io, transcoding
and async-compression, base64-simd, duration-str ^0.17.0, http, http-body, and httpdate
async-compression:
http, transcoding
Affects
kutil::http… - acme
-
ACME support for TLS.
Enables rustls-acme ^0.14.1
- axum
-
Axum utilities.
Enables signal of tokio, util of tower and axum, axum-extra, and axum-server ^0.7.2
axum:
http
Affects
cache::axum,http::axum… - file = tower
-
File utilities for Tower.
Enables tower-http
Affects
http::file… - moka
-
Moka implementation for cache.
Enables moka
Affects
implementation::moka… - tls
-
TLS utilities for axum.
Enables rustls, rustls-pemfile, and rustls-pki-types, tls-rustls of axum-server ^0.7.2
Affects
http::tls… - tower axum? file?
-
Tower utilities.
Enables tower
Affects
http::tower… - io http?
-
I/O utilities.
Enables utf8-chars, futures and netdev ^0.39.0, io-util and rt of tokio
Affects
kutil::io… - blocking
-
Enable blocking implementations.
- async http?
-
Enable async implementations.
- std http? transcoding?
-
Standard library utilities.
Enables ctrlc and num-traits
Affects
kutil::std… - bimap
-
Enable bimap
Enables bimap
std
- fast_collections http?
-
Enable fast collections.
Enables bimap, papaya, and rapidhash
Affects
bimap::FastBiHashMap… - serde
-
Enable serde support.
Enables serde of optional bytes and optional bytestring
- immutable http? transcoding?
-
Enable immutable implementations, e.g.
BytesandByteString.Enables bytes and bytestring
Affects
std::immutable… - transcoding http? = derive, immutable, std
-
Transcoding utilities.
Enables pin-project, tracing, brotli, deflate, gzip, tokio and zstd of async-compression, io-util of tokio
Affects
kutil::transcoding… - derive http? transcoding?
-
Include procedural macros for
derive.Enables kutil-std-macros