Cargo Features

[dependencies]
nanorand = { version = "0.7.0", default-features = false, features = ["std", "alloc", "tls", "wyrand", "pcg64", "chacha", "rdseed", "zeroize", "getrandom"] }
default = chacha, pcg64, std, tls, wyrand

These default features are set whenever nanorand is added without default-features = false somewhere in the dependency tree.

std default rdseed? tls = alloc

Affects entropy::backup

alloc std

Affects nanorand::buffer

tls default = std, wyrand

Affects nanorand::tls

wyrand default tls

Affects rand::wyrand

pcg64 default

Affects rand::pcg64

chacha default

Affects rand::chacha

rdseed = std

Affects entropy::rdseed

Features from optional dependencies

zeroize implicit feature
getrandom implicit feature

Enables getrandom

getrandom:

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

Affects entropy::system