Cargo Features

[dependencies]
strict_encoding = { version = "2.9.1", default-features = false, features = ["all", "derive", "float", "half", "serde", "rand"] }
default = derive

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

all = derive, float, serde
derive default all?
float all?

Enables apfloat of amplify

half

TODO: Remove this with major version update

serde all?

Enables serde, serde of amplify

Features from optional dependencies

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality