Cargo Features
[dependencies]
stackdriver_logger_kv = { version = "0.7.3", default-features = false, features = ["prod", "cargo", "termcolor", "atty", "humantime", "regex", "customfields", "pretty_env_logger"] }
- default = atty, cargo, humantime, pretty_env_logger, regex, termcolor
-
These default features are set whenever
stackdriver_logger_kv
is added without
somewhere in the dependency tree.default-features = false - prod = cargo
- cargo default prod? = toml
-
Used by the init macro
Affects
stackdriver_logger_kv::macros
… - termcolor default
-
Toggle env logger features
Enables termcolor of env_logger ^0.7.1
- atty default
-
Enables atty of env_logger ^0.7.1
- humantime default
-
Enables humantime of env_logger ^0.7.1
- regex default
-
Enables regex of env_logger ^0.7.1
- customfields
-
Toggle log features
Enables kv_unstable of log
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.
- pretty_env_logger default
-
Enables pretty_env_logger ^0.4.0
- toml cargo
-
Enables toml ^0.5.6