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

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.

bitflags_serde_shim bitflags? std
mime_serde_shim mime?
std_serde_shims std
enum_primitive_serde_shim enum_primitive? std