Cargo Features
[dependencies]
emojic = { version = "0.4.1", default-features = false, features = ["alloc", "doc_cfg"] }
- default = alloc
-
default features are automatically enables (if not opt-out)
- alloc default = hashbrown, lazy_static
-
Affects
emojic::country_flag
,emojic::contry_flag
,emojic::regional_flag
,text::parse_text
… - doc_cfg
-
requires nightly compiler, only intended for docs.rs builds (enables usage of doc_cfg)
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.
- hashbrown alloc
-
Enables hashbrown ^0.11
- lazy_static alloc