Cargo Features

[dependencies]
tinylog = { version = "4.0.1", default-features = false, features = ["detect-color", "detect-timezone", "log", "parking_lot", "timestamps", "tracing"] }
default = detect-color, detect-timezone, log

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

detect-color default = supports-color
detect-timezone default

Enables local-offset of optional time

log default

Enables log

parking_lot

Enables parking_lot

timestamps

Enables time

Affects tinylog::Logger.timezone

tracing

Enables ryu, tracing, and tracing-subscriber

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.

supports-color detect-color

Enables supports-color ^2.0.0