Crates.io | dotnet35_rand_rs |
lib.rs | dotnet35_rand_rs |
version | 1.0.1 |
source | src |
created_at | 2023-12-31 09:57:59.250447 |
updated_at | 2024-06-24 12:03:21.405519 |
description | just simluates .NET 3.5's Random class |
homepage | https://github.com/shenjackyuanjie/dotnet35_rand_rs |
repository | https://github.com/shenjackyuanjie/dotnet35_rand_rs |
max_upload_size | |
id | 1084709 |
size | 24,123 |
一个用于模拟 .NET 3.5 Random 的 Rust 库
A Rust library for simulating .NET 3.5 Random
use dotnet35_rand_rs::DotNet35Random;
fn main() {
let mut rng = DotNet35Random::new(123456789);
println!("{}", rng.next());
let mut rng_now = DotNet35Random::new_now();
println!("{}", rng_now.next());
}
这个库就是一个 GitHub Copilot 作品, 如果你在意,请不要使用,自己写一个去吧
This library is just a GitHub Copilot work, If you care, please don't use it, write one yourself