https://github.com/bh2smith/aoc-rs
Solutions to adventofcode.com 2018 in Rust
https://github.com/bh2smith/aoc-rs
Last synced: about 1 year ago
JSON representation
Solutions to adventofcode.com 2018 in Rust
- Host: GitHub
- URL: https://github.com/bh2smith/aoc-rs
- Owner: bh2smith
- Created: 2019-11-30T12:58:36.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-01T10:04:10.000Z (over 1 year ago)
- Last Synced: 2025-02-17T10:47:58.823Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 212 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code
Solutions to [`adventofcode.com`](adventofcode.com) problems for 2018 in Rust.
## Running
To run all tests for all problems:
```
cargo test
```
To run tests for a specific day:
```sh
cargo test year${YEAR}::day${DAY}
```
To run with actual input:
```sh
export AOC_SESSION=""
cargo run -- ${YEAR} ${DAY}...
```