Cargo Features
[dependencies]
text_placeholder = { version = "0.5.1", default-features = false, features = ["std", "struct_context"] }
- default = std
-
The
std
feature is set by default whenevertext_placeholder
is added without
somewhere in the dependency tree.default-features = false - std default struct_context?
- struct_context = serde, serde_json, std
-
Optional dependency in order to use structs for context instead of a HashMap.
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.