2018-03-08 11:54:13 +00:00
|
|
|
[package]
|
2018-03-23 13:33:34 +01:00
|
|
|
name = "rand_core"
|
2024-03-18 19:08:37 +00:00
|
|
|
version = "0.9.0-alpha.1"
|
2018-09-17 10:06:28 +01:00
|
|
|
authors = ["The Rand Project Developers", "The Rust Project Developers"]
|
2019-08-08 11:44:35 +03:00
|
|
|
license = "MIT OR Apache-2.0"
|
2018-03-08 11:54:13 +00:00
|
|
|
readme = "README.md"
|
2018-08-13 18:00:37 +01:00
|
|
|
repository = "https://github.com/rust-random/rand"
|
2020-12-15 10:08:34 +00:00
|
|
|
documentation = "https://docs.rs/rand_core"
|
2020-12-15 10:13:17 +00:00
|
|
|
homepage = "https://rust-random.github.io/book"
|
2018-03-08 11:54:13 +00:00
|
|
|
description = """
|
|
|
|
Core random number generator traits and tools for implementation.
|
|
|
|
"""
|
|
|
|
keywords = ["random", "rng"]
|
2018-03-27 13:59:28 +02:00
|
|
|
categories = ["algorithms", "no-std"]
|
2022-12-06 19:01:10 +00:00
|
|
|
edition = "2021"
|
2024-03-22 12:33:33 +00:00
|
|
|
rust-version = "1.61"
|
2018-03-08 11:54:13 +00:00
|
|
|
|
2019-11-17 14:27:04 +00:00
|
|
|
[package.metadata.docs.rs]
|
2020-08-27 10:20:28 +01:00
|
|
|
# To build locally:
|
2024-05-10 13:46:26 +03:00
|
|
|
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open
|
2019-11-17 14:27:04 +00:00
|
|
|
all-features = true
|
2024-05-10 13:46:26 +03:00
|
|
|
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
|
2020-12-31 15:59:10 +09:00
|
|
|
|
|
|
|
[package.metadata.playground]
|
|
|
|
all-features = true
|
2021-08-17 09:55:53 +01:00
|
|
|
|
|
|
|
[features]
|
2023-11-06 00:15:07 -08:00
|
|
|
std = ["alloc", "getrandom?/std"]
|
2021-08-17 09:55:53 +01:00
|
|
|
alloc = [] # enables Vec and Box support without std
|
|
|
|
serde1 = ["serde"] # enables serde for BlockRng wrapper
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde = { version = "1", features = ["derive"], optional = true }
|
|
|
|
getrandom = { version = "0.2", optional = true }
|
2024-05-07 04:38:30 -07:00
|
|
|
zerocopy = { version = "0.7.33", default-features = false }
|