Cargo Features
[dependencies]
sp_log = { version = "0.2.0", default-features = false, features = ["local-offset", "termcolor", "paris", "ansi_term"] }
- default = local-offset, termcolor
-
These default features are set whenever
sp_log
is added without
somewhere in the dependency tree.default-features = false - local-offset default
-
Enables local-offset of time
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.
- termcolor default
-
Affects
logging::termcolor_to_ansiterm
… - paris implicit feature
-
Enables paris
paris:
A simple logger for your CLI apps or other things you want in the terminal
Affects
logging::write_args
… - ansi_term implicit feature
-
Enables ansi_term
ansi_term:
Library for ANSI terminal colours and styles (bold, underline)
Affects
logging::termcolor_to_ansiterm
…