| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.36" |
| 15 |
name = "fastrand" |
| 16 |
version = "2.1.0" |
| 17 |
authors = ["Stjepan Glavina <[email protected]>"] |
| 18 |
exclude = ["/.*"] |
| 19 |
description = "A simple and fast random number generator" |
| 20 |
readme = "README.md" |
| 21 |
keywords = [ |
| 22 |
"simple", |
| 23 |
"fast", |
| 24 |
"rand", |
| 25 |
"random", |
| 26 |
"wyrand", |
| 27 |
] |
| 28 |
categories = ["algorithms"] |
| 29 |
license = "Apache-2.0 OR MIT" |
| 30 |
repository = "https://github.com/smol-rs/fastrand" |
| 31 |
|
| 32 |
[package.metadata.docs.rs] |
| 33 |
all-features = true |
| 34 |
rustdoc-args = [ |
| 35 |
"--cfg", |
| 36 |
"docsrs", |
| 37 |
] |
| 38 |
|
| 39 |
[dev-dependencies.getrandom] |
| 40 |
version = "0.2" |
| 41 |
|
| 42 |
[dev-dependencies.rand] |
| 43 |
version = "0.8" |
| 44 |
|
| 45 |
[dev-dependencies.wyhash] |
| 46 |
version = "0.5" |
| 47 |
|
| 48 |
[features] |
| 49 |
alloc = [] |
| 50 |
default = ["std"] |
| 51 |
js = [ |
| 52 |
"std", |
| 53 |
"getrandom", |
| 54 |
] |
| 55 |
std = ["alloc"] |
| 56 |
|
| 57 |
[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dependencies.getrandom] |
| 58 |
version = "0.2" |
| 59 |
features = ["js"] |
| 60 |
optional = true |
| 61 |
|
| 62 |
[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.getrandom] |
| 63 |
version = "0.2" |
| 64 |
features = ["js"] |
| 65 |
|
| 66 |
[target."cfg(all(any(target_arch = \"wasm32\", target_arch = \"wasm64\"), target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] |
| 67 |
version = "0.3" |