{"id":57478,"library":"rand-xorshift","title":"rand_xorshift","description":"Xorshift random number generator","status":"active","version":"0.5.0","language":"rust","source_language":null,"source_url":"https://github.com/rust-random/rngs","tags":["random","xorshift","rng","no-std"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrand_xorshift = \"0.5.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rand_xorshift","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"XorShiftRng","correct":"use rand_xorshift::XorShiftRng;"}],"quickstart":{"code":"use rand_xorshift::XorShiftRng;\nuse rand::SeedableRng;\n\nfn main() {\n    let mut rng = XorShiftRng::seed_from_u64(42);\n    println!(\"{}\", rng.gen::<u32>());\n}","lang":"rust","description":"Creates a seeded Xorshift RNG and generates a random u32."},"warnings":[],"env_vars":null,"search_vec":"'generat':6 'no-std':10 'number':5 'rand':1 'random':4,7 'rng':9 'std':12 'xorshift':2,3,8","created_at":"2026-06-16T15:43:58.688891+00:00","updated_at":"2026-06-16T15:43:58.688891+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://rust-random.github.io/book","github":"https://github.com/rust-random/rngs","docs":"https://docs.rs/rand_xorshift/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}