Cargo Features

[dependencies]
scale-encode = { version = "0.8.0", default-features = false, features = ["std", "derive", "primitive-types", "bits"] }
default = bits, derive, primitive-types, std

These default features are set whenever scale-encode is added without default-features = false somewhere in the dependency tree.

std default

Activates std feature.

Affects error::CustomError

derive default

Include the derive proc macro.

Enables scale-encode-derive

primitive-types default

impls for key primitive-types.

Enables primitive-types

enable scale-info feature for testing:

bits default

impls for Bits.

Enables scale-bits