Cargo Features

[dependencies]
slog = { version = "2.8.0-beta.2", default-features = false, features = ["std", "nested-values", "max_level_off", "max_level_info", "max_level_trace", "release_max_level_error", "release_max_level_info", "release_max_level_trace"] }
default = std

The std feature is set by default whenever slog is added without default-features = false somewhere in the dependency tree.

std default

Affects slog::MutexDrainError, slog::Serializer.emit_error, slog::ErrorTagWrapper, slog::ErrorValueTag, slog::ErrorValueKind, slog::ErrorRefTag, slog::ErrorRefKind, slog::ErrorValue, slog::ErrorRef, slog::Error

nested-values = erased-serde, serde, serde_derive

Affects slog::Serializer.emit_serde, slog::SerdeValue, slog::Serde

dynamic-keys nothreads max_level_off
max_level_error max_level_warn max_level_info
max_level_debug max_level_trace
release_max_level_off release_max_level_error
release_max_level_warn release_max_level_info
release_max_level_debug release_max_level_trace

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.

erased-serde nested-values?

Enables erased-serde ^0.3

serde nested-values?
serde_derive nested-values?