Cargo Features
[dependencies]
loge = { version = "0.4.2", default-features = false, features = ["json", "file", "chrono", "colored"] }
- default = chrono, colored, json
-
These default features are set whenever
loge
is added without
somewhere in the dependency tree.default-features = false - json default = json-color, serde_json
- file
-
Affects
loge::init_with_file
,loge::try_init_with_file
,loge::init_custom_with_file
,loge::try_init_custom_with_file
,loge::init_custom_env_with_file
,loge::try_init_custom_env_with_file
…
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.
- chrono default
- colored default
-
Enables colored ^1.9
- serde_json json
- json-color json