1[package]
2name = "rand_xorshift"
3version = "0.4.0" # NB: When modifying, also modify html_root_url in lib.rs
4authors = ["The Rand Project Developers", "The Rust Project Developers"]
5license = "MIT OR Apache-2.0"
6readme = "README.md"
7repository = "https://github.com/rust-random/rngs"
8documentation = "https://docs.rs/rand_xorshift"
9homepage = "https://rust-random.github.io/book"
10description = """
11Xorshift random number generator
12"""
13keywords = ["random", "rng", "xorshift"]
14categories = ["algorithms", "no-std"]
15edition = "2021"
16rust-version = "1.63"
17
18[features]
19serde = ["dep:serde"]
20
21[dependencies]
22rand_core = { version = "0.9.0" }
23serde = { 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
28bincode = "1"
29