# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "turborand" version = "0.10.1" authors = ["Gonçalo Rica Pais da Silva "] exclude = ["/.*"] description = "Fast random number generators" readme = "README.md" keywords = [ "fast", "rand", "random", "wyrand", "chacha", ] categories = [ "algorithms", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/Bluefinger/turborand" resolver = "2" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "rand_bench" harness = false [dependencies.bytemuck] version = "1" features = ["min_const_generics"] optional = true [dependencies.getrandom] version = "0.2" optional = true [dependencies.rand_core] version = "0.6" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dev-dependencies.serde_test] version = "1.0" [features] alloc = [] atomic = ["wyrand"] chacha = ["dep:bytemuck"] default = [ "wyrand", "fmt", "std", ] fmt = [] rand = ["dep:rand_core"] serialize = [ "dep:serde", "fmt", ] std = [ "alloc", "dep:getrandom", ] wyrand = [] [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.getrandom] version = "0.2" features = ["js"] [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion] version = "0.4" [target."cfg(target_arch = \"wasm32\")".dependencies.instant] version = "0.1" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.criterion] version = "0.4" default-features = false [target."cfg(target_arch = \"wasm32\")".dev-dependencies.instant] version = "0.1" features = ["wasm-bindgen"] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3"