Cargo Features

[dependencies]
sonic-api = { version = "0.12.0-beta.1", default-features = false, features = ["std", "all", "stl", "serde", "rand"] }
default = std

The std feature is set by default whenever sonic-api is added without default-features = false somewhere in the dependency tree.

std default
all = serde, stl
stl all?

Enables stl of commit_verify, armor of strict_types, stl of ultrasonic

serde all?

Enables serde, serde of strict_encoding, strict_types, and ultrasonic, serde of aluvm, amplify, chrono, and commit_verify

Features from optional dependencies

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality