Cargo Features
[dependencies]
product-os-random = { version = "0.0.27", default-features = false, features = ["all", "send_only", "constrained", "custom", "custom_send_only", "names", "last_names"] }
- default all? = rand
-
These default features are set whenever
product-os-random
is added without
somewhere in the dependency tree.default-features = false - all = constrained, custom, default
- core send_only
-
Enables std of no-std-compat, getrandom, std and std_rng of rand
- constrained all?
-
rand:
Option: "alloc" enables support for Vec and Box when not using "std"
- custom all?
-
Enables custom of getrandom, alloc of rand, mutex and spin_mutex of spin
Affects
product-os-random::CustomRng
,product-os-random::CustomCryptoRng
,product-os-random::RngCrypto
… - custom_send_only
-
Enables std of no-std-compat, getrandom, std and std_rng of rand, mutex and spin_mutex of spin
Affects
product-os-random::RngCrypto
… - words nouns adjectives names
- first_names last_names = inflections
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.
- spin custom? custom_send_only?
- rand default constrained? core? custom? custom_send_only? send_only?
- getrandom custom?
- inflections first_names? last_names?