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