billion-csv-rs is a Rust project designed to generate a CSV file with one billion records. Each record contains randomly generated data including name, age, birth date, height, weight, and gender.
To build and run this project, you need to have Rust installed on your machine. Clone the repository and navigate to the project directory:
git clone https://github.com/gabrielalmir/billion-csv-rs.git
cd billion-csvTo generate the CSV file, run the following command:
cargo runThis will create a file named data.csv in the project directory with one billion records.
The project relies on several crates, as specified in Cargo.toml:
chronofor date and time handlingcsvfor CSV file writingfakefor generating random datarandfor random number generation