Cargo Features

hiro-system-kit = { version = "0.3.4", default-features = false, features = ["tokio_helpers", "log", "debug", "release", "release_debug", "full_log_level_prefix"] }
default = tokio_helpers

The tokio_helpers feature is set by default whenever hiro-system-kit is added without default-features = false somewhere in the dependency tree.

tokio_helpers default

Enables full of tokio


enable everything

log debug? release? release_debug? = slog, slog-async, slog-atomic, slog-json, slog-scope, slog-term

Affects hiro-system-kit::log

debug = log

Enables max_level_trace and release_max_level_debug of slog

release = log

Enables max_level_info and release_max_level_info of slog

release_debug = log

Enables max_level_trace and release_max_level_debug of slog


Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio tokio_helpers
slog debug? log? release? release_debug?
slog-json log?
slog-scope log?
slog-term log?
slog-async log?
slog-atomic log?