Cargo Features
sorrow-i18n has no features set by default.
[dependencies]
sorrow-i18n = { version = "0.1.2", features = ["incl_dir", "macro"] }
- incl_dir = include_dir
-
Affects
feature_macro::init_dir
… - macro = lazy_static, once_cell
-
Affects
sorrow-i18n::feature_macro
…
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.
- include_dir incl_dir?
-
Enables include_dir ^0.6.2
Incl_dir feature
- once_cell macro?
-
Enables once_cell
For lazy init.
- lazy_static macro?