Cargo Features

[dependencies]
amplify_apfloat = { version = "0.3.1", default-features = false, features = ["std", "alloc", "getrandom", "rand"] }
default = std

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

std default

Enables std of amplify_num

alloc

Enables alloc of amplify_num

Features from optional dependencies

getrandom wasm32 implicit feature

Enables getrandom

getrandom:

A small cross-platform library for retrieving random data from system source

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality