Cargo Features
[dependencies]
scale-encode = { version = "0.10.0", default-features = false, features = ["derive", "primitive-types", "bits"] }
- default = bits, derive, primitive-types
-
These default features are set whenever
scale-encode
is added without
somewhere in the dependency tree.default-features = false - 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