Cargo Features
[dependencies]
optempty = { version = "0.1.13", default-features = false, features = ["std", "serdejson", "querymap"] }
- default = std
-
The
std
feature is set by default wheneveroptempty
is added without
somewhere in the dependency tree.default-features = false - std default querymap?
- serdejson = serde_json
- querymap = query_map, std
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.