Cargo Features

strict_encoding = { version = "2.6.0", default-features = false, features = ["all", "derive", "float", "serde"] }
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? = half

Enables apfloat of amplify

serde all? = serde_crate

Enables serde of amplify

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

half float?

Enables default (std) of half ~2.2.0

Required to maintain MSRV

serde_crate serde?

Enables derive and default (std) of serde