Cargo Features
[dependencies]
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 wheneverhiro-system-kit
is added without
somewhere in the dependency tree.default-features = false - tokio_helpers default
-
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
- full_log_level_prefix
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.