Cargo Features

dyn_struct2 has no features set by default.

[dependencies]
dyn_struct2 = { version = "0.1.0", features = ["derive"] }
derive = dyn_struct_derive2

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

dyn_struct_derive2 derive?