51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "nanorand"
|
|
version = "0.7.0"
|
|
authors = ["Lucy <lucy@absolucy.moe>"]
|
|
description = "A tiny, fast, zero-dep library for random number generation."
|
|
readme = "README.md"
|
|
keywords = ["rand", "random", "no-std", "entropy"]
|
|
categories = ["algorithms", "no-std"]
|
|
license = "Zlib"
|
|
repository = "https://github.com/Absolucy/nanorand-rs"
|
|
resolver = "2"
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
default-target = "x86_64-unknown-linux-gnu"
|
|
targets = ["x86_64-pc-windows-msvc"]
|
|
[profile.bench]
|
|
lto = "thin"
|
|
[dependencies.getrandom]
|
|
version = "0.2.5"
|
|
features = ["rdrand", "js"]
|
|
optional = true
|
|
|
|
[dependencies.zeroize]
|
|
version = "1.5.3"
|
|
features = ["zeroize_derive"]
|
|
optional = true
|
|
[dev-dependencies.hex]
|
|
version = "0.4.3"
|
|
|
|
[features]
|
|
alloc = []
|
|
chacha = []
|
|
default = ["std", "tls", "wyrand", "pcg64", "chacha"]
|
|
pcg64 = []
|
|
rdseed = ["std"]
|
|
std = ["alloc"]
|
|
tls = ["std", "wyrand"]
|
|
wyrand = []
|