Skip to content

ibourn/rusty_advent_of_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Solutions to Advent of Code


setting up :

  • aoc_rs.sh is a small script in bash to prepare a new Advent of Code project in rust. (this is my first bash script, feel free to indicate any errors or propose better solutions)

  • It creates a new folder with the given name, a new rust project inside and 25 daily projects, with 2 parts each. lib.rs in src folder can be used for the reusable code. It also creates a README.md file with links to the daily projects and a .gitignore file with the necessary entries.

  • Usage :

    chmod +x aoc_rs.sh to make it executable

    ./aoc_rs.sh <folder_name> <AOC_year>

    then cargo run --bin day01_part1

    or cargo test --bin day01_part1

About

learning rust, i practice doing the advent of code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published