Cargo Features

[dependencies]
hypersonic = { version = "0.12.0-beta.6", default-features = false, features = ["std", "all", "stl", "persist-file", "serde", "rand"] }
default = std

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

std default all? persist-file?

Enables std of sonic-api and sonic-callreq

all = persist-file, serde, std, stl
stl all?

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

Affects hypersonic::stl

Required by the sonic-stl binary

persist-file all? = aora, std
serde all?

Enables serde, serde of amplify and commit_verify, serde of sonic-api, sonic-callreq, strict_encoding, and ultrasonic

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

aora persist-file?
rand wasm32 implicit feature

Enables rand ^0.8.4

rand:

Random number generators and other randomness functionality