Cargo Features

[dependencies]
lightning_encoding = { version = "0.9.3", default-features = false, features = ["all", "derive"] }
default = derive

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

all = derive
derive default all? = lightning_encoding_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.

lightning_encoding_derive derive