| 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.63" |
| 15 |
name = "fastrand" |
| 16 |
version = "2.5.0" |
| 17 |
authors = ["Stjepan Glavina <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = ["/.*"] |
| 20 |
autolib = false |
| 21 |
autobins = false |
| 22 |
autoexamples = false |
| 23 |
autotests = false |
| 24 |
autobenches = false |
| 25 |
description = "A simple and fast random number generator" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"simple", |
| 29 |
"fast", |
| 30 |
"rand", |
| 31 |
"random", |
| 32 |
"wyrand", |
| 33 |
] |
| 34 |
categories = ["algorithms"] |
| 35 |
license = "Apache-2.0 OR MIT" |
| 36 |
repository = "https://github.com/smol-rs/fastrand" |
| 37 |
|
| 38 |
[package.metadata.docs.rs] |
| 39 |
all-features = true |
| 40 |
rustdoc-args = [ |
| 41 |
"--cfg", |
| 42 |
"docsrs", |
| 43 |
] |
| 44 |
|
| 45 |
[features] |
| 46 |
alloc = [] |
| 47 |
default = ["std"] |
| 48 |
js = [ |
| 49 |
"std", |
| 50 |
"getrandom", |
| 51 |
] |
| 52 |
std = ["alloc"] |
| 53 |
|
| 54 |
[lib] |
| 55 |
name = "fastrand" |
| 56 |
path = "src/lib.rs" |
| 57 |
|
| 58 |
[[test]] |
| 59 |
name = "char" |
| 60 |
path = "tests/char.rs" |
| 61 |
|
| 62 |
[[test]] |
| 63 |
name = "smoke" |
| 64 |
path = "tests/smoke.rs" |
| 65 |
|
| 66 |
[[bench]] |
| 67 |
name = "bench" |
| 68 |
path = "benches/bench.rs" |
| 69 |
|
| 70 |
[dev-dependencies.getrandom] |
| 71 |
version = "0.4" |
| 72 |
|
| 73 |
[dev-dependencies.rand] |
| 74 |
version = "0.10" |
| 75 |
|
| 76 |
[dev-dependencies.wyhash] |
| 77 |
version = "0.6" |
| 78 |
|
| 79 |
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.getrandom] |
| 80 |
version = "0.4" |
| 81 |
features = ["wasm_js"] |
| 82 |
optional = true |
| 83 |
|
| 84 |
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.getrandom] |
| 85 |
version = "0.4" |
| 86 |
features = ["wasm_js"] |
| 87 |
|
| 88 |
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test] |
| 89 |
version = "0.3" |