Cargo Features
[dependencies]
slog-unwrap = { version = "0.9.2", default-features = false, features = ["panic-quiet", "scope"] }
- default = panic-quiet
-
The
panic-quiet
feature is set by default wheneverslog-unwrap
is added without
somewhere in the dependency tree.default-features = false - panic-quiet default
-
Makes failed unwraps panic with an empty message.
- scope = slog-scope
-
Adds support for
slog-scope
, which removes the need to pass aslog::Logger
to the various methods.
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.