fastrand/Cargo.toml

38 lines
1.0 KiB
TOML
Raw Permalink Normal View History

2020-05-27 16:18:29 +00:00
[package]
name = "fastrand"
2021-04-24 09:02:15 +00:00
# When publishing a new version:
# - Update CHANGELOG.md
# - Create "v2.x.y" git tag
version = "2.1.0"
2020-05-27 16:18:29 +00:00
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
rust-version = "1.36"
2020-09-01 05:24:22 +00:00
description = "A simple and fast random number generator"
2020-05-27 16:18:29 +00:00
license = "Apache-2.0 OR MIT"
2020-12-26 14:47:13 +00:00
repository = "https://github.com/smol-rs/fastrand"
2021-03-13 11:28:27 +00:00
keywords = ["simple", "fast", "rand", "random", "wyrand"]
2020-05-27 16:20:07 +00:00
categories = ["algorithms"]
2022-01-08 13:53:08 +00:00
exclude = ["/.*"]
2020-06-17 19:12:22 +00:00
2023-02-19 00:20:36 +00:00
[features]
default = ["std"]
alloc = []
std = ["alloc"]
js = ["std", "getrandom"]
2023-02-19 00:20:36 +00:00
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies]
getrandom = { version = "0.2", features = ["js"], optional = true }
2020-10-02 23:09:41 +00:00
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies]
2020-10-03 17:05:19 +00:00
wasm-bindgen-test = "0.3"
2020-12-25 09:42:53 +00:00
getrandom = { version = "0.2", features = ["js"] }
2020-10-03 17:05:19 +00:00
2020-06-17 19:12:22 +00:00
[dev-dependencies]
2020-12-25 09:42:53 +00:00
rand = "0.8"
2022-01-22 07:00:08 +00:00
wyhash = "0.5"
2020-12-25 09:42:53 +00:00
getrandom = "0.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]