Genum is a Rust program that allows you to generate various types of random data. You can install it on your system and use it through the command line.
- Generate random integers, floating-point numbers.
- Customize the range.
To install Genum, you'll need to have Rust installed on your system. If you don't have Rust installed, you can get it from rust-lang.org.
If you prefer to build Genum from source, follow these steps:
- Clone the repository:
git clone https://github.com/srvshg/genum.git
- Change to the root directory of the project:
cd genum
- Build the project to create a binary:
cargo build --release
- Run the application:
./target/release/genum
After installing or building Genum, you can use it from the command line. Here are some examples:
Generate a random integer
genum
Generate a random floating-point number
genum -f
Customize the range of generated integers
genum --min 10 --max 100
Generate an even integer
genum even
Generate a odd integer
genum odd