Cargo Features

[dependencies]
flexi_logger = { version = "0.29.8", default-features = false, features = ["async", "colors", "compress", "dont_minimize_extra_stacks", "json", "kv", "specfile", "specfile_without_notification", "syslog_writer", "textfilter", "trc"] }
default = colors, textfilter

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

async trc?

Enables crossbeam-channel and crossbeam-queue

Affects write_mode::DEFAULT_POOL_CAPA, write_mode::DEFAULT_MESSAGE_CAPA

colors default

Enables nu-ansi-term

Affects formats::colored_default_format, formats::colored_opt_format, formats::colored_detailed_format, formats::colored_with_thread, formats::style

compress

Enables flate2

dont_minimize_extra_stacks
json

Enables serde, serde_derive, and serde_json

Affects formats::json_format

kv

Enables kv_serde of log

specfile trc? = specfile_without_notification

Enables notify-debouncer-mini

specfile_without_notification specfile?

Enables serde, serde_derive, and toml

Affects logger_handle::LogSpecSubscriber, trc::subscribe_to_specfile

syslog_writer

Enables hostname and libc

textfilter default

Enables regex

trc = async, specfile

Enables tracing and tracing-subscriber

Affects flexi_logger::trc