2018-03-08 11:54:13 +00:00
|
|
|
[package]
|
2018-03-23 13:33:34 +01:00
|
|
|
name = "rand_core"
|
2018-06-07 21:09:33 +01:00
|
|
|
version = "0.2.1" # NB: When modifying, also modify html_root_url in lib.rs
|
2018-03-08 11:54:13 +00:00
|
|
|
authors = ["The Rust Project Developers"]
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/rust-lang-nursery/rand"
|
2018-03-23 13:33:34 +01:00
|
|
|
documentation = "https://docs.rs/rand_core"
|
|
|
|
homepage = "https://crates.io/crates/rand_core"
|
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"]
|
2018-03-08 11:54:13 +00:00
|
|
|
|
2018-03-25 10:29:41 +02:00
|
|
|
[badges]
|
|
|
|
travis-ci = { repository = "rust-lang-nursery/rand" }
|
|
|
|
appveyor = { repository = "alexcrichton/rand" }
|
|
|
|
|
2018-03-08 11:54:13 +00:00
|
|
|
[features]
|
2018-04-19 11:44:01 +01:00
|
|
|
default = ["std"]
|
2018-03-26 10:27:23 +01:00
|
|
|
std = ["alloc"] # use std library; should be default but for above bug
|
2018-03-08 11:54:13 +00:00
|
|
|
alloc = [] # enables Vec and Box support without std
|
2018-04-03 13:17:41 +02:00
|
|
|
serde1 = ["serde", "serde_derive"] # enables serde for BlockRng wrapper
|
2018-03-24 07:39:41 +01:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
serde = { version = "1", optional = true }
|
2018-04-29 16:02:54 +02:00
|
|
|
serde_derive = { version = "^1.0.38", optional = true }
|