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 wheneveramplify_apfloat
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of amplify_num
- alloc
-
Enables alloc of amplify_num
Features from optional dependencies
- getrandom wasm32 implicit feature
-
Enables getrandom ^0.2
getrandom:
A small cross-platform library for retrieving random data from system source
- rand wasm32 implicit feature
-
Enables rand ^0.8.4
rand:
Random number generators and other randomness functionality