blob: 6604bc5a8b1a51801a07d03acdf4bb4048313b3e [file] [log] [blame]
Joel Galenson73ce1c62020-07-07 13:36:47 -07001[package]
2name = "rand_core"
Joel Galensonfe04fdc2021-06-21 13:57:05 -07003version = "0.6.3"
Joel Galenson73ce1c62020-07-07 13:36:47 -07004authors = ["The Rand Project Developers", "The Rust Project Developers"]
5license = "MIT OR Apache-2.0"
6readme = "README.md"
7repository = "https://github.com/rust-random/rand"
Haibo Huangcf398cf2021-02-17 19:59:18 -08008documentation = "https://docs.rs/rand_core"
9homepage = "https://rust-random.github.io/book"
Joel Galenson73ce1c62020-07-07 13:36:47 -070010description = """
11Core random number generator traits and tools for implementation.
12"""
13keywords = ["random", "rng"]
14categories = ["algorithms", "no-std"]
15edition = "2018"
16
Joel Galenson73ce1c62020-07-07 13:36:47 -070017[features]
18std = ["alloc", "getrandom", "getrandom/std"] # use std library; should be default but for above bug
19alloc = [] # enables Vec and Box support without std
20serde1 = ["serde"] # enables serde for BlockRng wrapper
21
22[dependencies]
23serde = { version = "1", features = ["derive"], optional = true }
Haibo Huangc727dca2020-12-15 16:12:23 -080024getrandom = { version = "0.2", optional = true }
25
26[package.metadata.docs.rs]
27# To build locally:
28# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open
29all-features = true
30rustdoc-args = ["--cfg", "doc_cfg"]
Haibo Huangcf398cf2021-02-17 19:59:18 -080031
32[package.metadata.playground]
33all-features = true