Language: Rust, Author: Grant S. Ralls (grantralls.net - dev@grantralls.net)
Not affiliated with The Rust Foundation or The Rustlang Team in any manner
This advent of code is being worked on in 2023 as a fun programming exercise to work on learning Rust.
- rustc
- cargo
- rustup
Installing via rustup works in the majority of cases
The root folder is a Rust Virtual Workspace. Essentially meaning one "package" that contains many individual packages. Each individual package is a days solution and named accordingly (day-one, day-two...).
- src/main.rs - binary entry
- src/lib.rs - library (code that can be imported from other packages)
- src/any-other-file.rs - a module
- Cargo.toml - The project's manifest
- Change directory into the desired day
- Run
cargo run
- Change directory into the desired day
- Run
cargo test