- Cargo
- Rust
- Christmas 2023
- Snow?
cargo build
cd <to correct directory in src>
Then:
cargo run < input.txt
or
echo -n "yourinput" | cargo run
or
cargo run -- bin day_01
<hey>
The tests are from the example of the day
cargo test
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
cargo build
cd <to correct directory in src>
Then:
cargo run < input.txt
or
echo -n "yourinput" | cargo run
or
cargo run -- bin day_01
<hey>
The tests are from the example of the day
cargo test