Cargo Features
[dependencies]
serde_shims = { version = "0.2.2", default-features = false, features = ["std", "bitflags", "mime", "enum_primitive"] }
- default = std
-
The
std
feature is set by default wheneverserde_shims
is added without
somewhere in the dependency tree.default-features = false - std default = std_serde_shims
-
Enables std of bitflags_serde_shim and enum_primitive_serde_shim
- bitflags = bitflags_serde_shim
- mime = mime_serde_shim
- enum_primitive = enum_primitive_serde_shim
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.