Cargo Features

glean-core has no features set by default.

[dependencies]
glean-core = { version = "60.1.0", features = ["preinit_million_queue", "enable_env_logger"] }
preinit_million_queue

Increases the preinit queue limit to 10^6

Affects global::GLOBAL_DISPATCHER_LIMIT

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.

env_logger enable_env_logger?

Enables env_logger ^0.10.0