rand/rand_core/Cargo.toml

36 lines
1.1 KiB
TOML
Raw Normal View History

[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"
authors = ["The Rand Project Developers", "The Rust Project Developers"]
2019-08-08 11:44:35 +03:00
license = "MIT OR Apache-2.0"
readme = "README.md"
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"
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"]
edition = "2021"
2024-03-22 12:33:33 +00:00
rust-version = "1.61"
[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[package.metadata.playground]
all-features = true
2021-08-17 09:55:53 +01:00
[features]
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 }
zerocopy = { version = "0.7.33", default-features = false }