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 whenever slog-unwrap is added without default-features = false somewhere in the dependency tree.

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 a slog::Logger to the various methods.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

slog-scope scope?