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 whenever text_placeholder is added without default-features = false somewhere in the dependency tree.

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.

serde struct_context?
serde_json struct_context?