1 | [package] |
2 | name = "rand_xorshift" |
3 | version = "0.4.0" # NB: When modifying, also modify html_root_url in lib.rs |
4 | authors = ["The Rand Project Developers" , "The Rust Project Developers" ] |
5 | license = "MIT OR Apache-2.0" |
6 | readme = "README.md" |
7 | repository = "https://github.com/rust-random/rngs" |
8 | documentation = "https://docs.rs/rand_xorshift" |
9 | homepage = "https://rust-random.github.io/book" |
10 | description = "" " |
11 | Xorshift random number generator |
12 | " "" |
13 | keywords = ["random" , "rng" , "xorshift" ] |
14 | categories = ["algorithms" , "no-std" ] |
15 | edition = "2021" |
16 | rust-version = "1.63" |
17 | |
18 | [features] |
19 | serde = ["dep:serde" ] |
20 | |
21 | [dependencies] |
22 | rand_core = { version = "0.9.0" } |
23 | serde = { version = "1.0.118" , default-features = false, features = ["derive" ], optional = true } |
24 | |
25 | [dev-dependencies] |
26 | # This is for testing serde, unfortunately we can't specify feature-gated dev |
27 | # deps yet, see: https://github.com/rust-lang/cargo/issues/1596 |
28 | bincode = "1" |
29 | |