Cargo Features

[dependencies]
urandom = { version = "0.2.2", default-features = false, features = ["std", "getrandom", "serde"] }
default = getrandom, std

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

std default

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.

getrandom default

Enables getrandom ^0.2.9

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects tests::check_serde_initial_state, tests::check_serde_middle_state