Cargo Features
glean-core has no features set by default.
[dependencies]
glean-core = { version = "63.0.0", features = ["enable_env_logger"] }
- enable_env_logger = env_logger
-
Enable
env_logger
. Only works on non-Android non-iOS targets.
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.