Cargo Features

[dependencies]
log4rs-routing-appender = { version = "0.4.0", default-features = false, features = ["pattern-router", "file"] }
default = file, pattern-router

These default features are set whenever log4rs-routing-appender is added without default-features = false somewhere in the dependency tree.

pattern-router default = file, log-mdc, ordered-float

Affects route::pattern

file default pattern-router = humantime, serde, serde-value, serde_derive

Enables file of log4rs ^0.8

Affects log4rs-routing-appender::RoutingAppenderConfig, log4rs-routing-appender::register, log4rs-routing-appender::RoutingAppenderDeserializer

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.

humantime file

Enables humantime ^1.0

log-mdc pattern-router
serde file
serde_derive file
serde-value file

Enables serde-value ^0.5

ordered-float pattern-router

Enables ordered-float ^0.5