Cargo Features

[dependencies]
struf = { version = "0.0.1", default-features = false, features = ["derive"] }
default = derive

The derive feature is set by default whenever struf is added without default-features = false somewhere in the dependency tree.

derive default = struf_derive

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.

struf_derive derive