[package] name = "smolcrush" authors = ["satvrn"] description = "A smol RNG library for Rust." documentation = "https://docs.rs/smolcrush" homepage = "https://github.com/notsatvrn/smolcrush" repository = "https://github.com/notsatvrn/smolcrush" readme = "README.md" keywords = ["rng", "random", "rand"] categories = ["no-std", "wasm"] version = "0.2.2" rust-version = "1.60.0" edition = "2021" license = "MIT" [dependencies] rand_core = "0.6" getrandom = { version = "0.2", optional = true } zeroize = { version = "1.7", features = ["derive"], optional = true } [features] default = ["wyrand", "xorwow"] system-rng = ["dep:getrandom", "rand_core/getrandom"] 32bit = ["kiss", "splitmix32", "swb32", "xorshift32", "xorshift128", "xorwow"] 64bit = ["splitmix64", "swb64", "xorshift64", "xorshift64star", "xorshift128plus", "xorshift1024plus", "xorshift1024star"] all = ["32bit", "64bit", "system-rng"] # splitmix splitmix32 = [] splitmix64 = [] # wyrand wyrand = [] # xorshift xorshift32 = [] xorshift64 = [] xorshift64star = [] xorshift128 = ["splitmix32"] xorshift128plus = ["splitmix64"] xorshift1024plus = ["splitmix64"] xorshift1024star = ["splitmix64"] # other George Marsaglia PRNGs kiss = [] swb32 = ["splitmix32"] swb64 = ["splitmix64"] # xorwow xorwow = ["splitmix32"]