This is a test Rust program I made to learn how Rust works while implementing a bunch of random things for fun.
To run a command, type basic-rust-test <COMMAND> [OPTIONS]
.
current_time
: Prints the current time.rng_simple
: Prints the output of a given RNG with a given seed. Options for the RNG aremt19937_32
,mt19937_64
, and some others.sleep
: Sleeps for a given amount of time, then quits.
To build, make sure the Rust programming language is installed on your computer, then clone the repository and run cargo run
. To run the tests, run cargo test
.