Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 846 Bytes

File metadata and controls

24 lines (15 loc) · 846 Bytes

Advent of Code in Rust

Tests & Static Checks

Practicing Rust with Advent Of Code using as few dependencies as possible to solve puzzles.

Each day has functions part_1 and part_2 which take a &str and return a primitive type.

Usage

Set up dev environment with nix develop (see flake.nix).

To activate the dev shell automatically when entering the dir: direnv allow.

$ cargo run -- --help
Solve Advent of Code puzzles with optional year and day filtering.

Usage: advent_of_code [YEAR] [DAYS]...

Arguments:
  [YEAR]     Year to solve (default: all years [2022-2024])
  [DAYS]...  Specific days to solve (default: all days [1-25])