-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
44 lines (39 loc) · 1.51 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "rand_mt"
version = "4.2.2" # remember to set `html_root_url` in `src/lib.rs`.
authors = ["David Creswick <dcrewi@gyrae.net>", "Ryan Lopopolo <rjl@hyperbo.la>"]
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.47.0"
readme = "README.md"
repository = "https://github.com/artichoke/rand_mt"
documentation = "https://docs.rs/rand_mt"
homepage = "https://github.com/artichoke/rand_mt"
description = "Reference Mersenne Twister random number generators."
keywords = ["random", "rand", "rng", "mt"]
categories = ["algorithms", "no-std", "no-std::no-alloc"]
include = ["src/**/*", "tests/**/*", "LICENSE-*", "README.md"]
[features]
default = ["rand-traits", "std"]
rand-traits = ["rand_core"]
# Enables `std::error::Error` impls.
std = []
[dependencies]
# 0.6.1 is vulnerable to underfilling a buffer.
#
# https://rustsec.org/advisories/RUSTSEC-2021-0023
rand_core = { version = "0.6.2", default-features = false, optional = true }
[dev-dependencies]
getrandom = { version = "0.2.0", default-features = false }
# Check that crate versions are properly updated in documentation and code when
# bumping the version.
[dev-dependencies.version-sync]
version = "0.9.3"
default-features = false
features = ["markdown_deps_updated", "html_root_url_updated"]
[package.metadata.docs.rs]
# This sets the default target to `x86_64-unknown-linux-gnu` and only builds
# that target. `rand_mt` has the same API and code on all targets.
default-target = "x86_64-unknown-linux-gnu"
targets = []
rustdoc-args = ["--cfg", "docsrs"]