oficina / docs Public

Clone
git clone https://amadan.net/oficina/docs

Plain git — no account needed to clone.

Download

Download this file

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.63"
15name = "fastrand"
16version = "2.5.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[features]
46alloc = []
47default = ["std"]
48js = [
49 "std",
50 "getrandom",
51]
52std = ["alloc"]
53
54[lib]
55name = "fastrand"
56path = "src/lib.rs"
57
58[[test]]
59name = "char"
60path = "tests/char.rs"
61
62[[test]]
63name = "smoke"
64path = "tests/smoke.rs"
65
66[[bench]]
67name = "bench"
68path = "benches/bench.rs"
69
70[dev-dependencies.getrandom]
71version = "0.4"
72
73[dev-dependencies.rand]
74version = "0.10"
75
76[dev-dependencies.wyhash]
77version = "0.6"
78
79# Vendored patch (see docs-wt-core/vendor/README.md): dropped the forced
80# "wasm_js" feature so that a `--cfg getrandom_backend="..."` override (used
81# by docs-core to avoid a wasm-bindgen/JS import dependency) doesn't hit
82# getrandom's `Error::WEB_CRYPTO` cfg mismatch (that item only exists when
83# the "wasm_js" backend module itself is compiled, which a cfg override to
84# a different backend skips, but `error.rs`'s Display impl references it
85# whenever the "wasm_js" *feature* is enabled, regardless of which backend
86# is actually selected).
87[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.getrandom]
88version = "0.4"
89optional = true
90
91[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.getrandom]
92version = "0.4"
93features = ["wasm_js"]
94
95[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
96version = "0.3"
97