aoc2023 0.1.0

Solutions to Advent of Code 2023
Documentation
  • Coverage
  • 5.63%
    4 out of 71 items documented0 out of 37 items with examples
  • Size
  • Source code size: 48.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 9.19 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • NickyMeuleman/scrapyard
    12 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • NickyMeuleman

Solutions to Advent of Code 2023 in the Rust programming language

Using the CLI to solve days

cargo run <day> <part>

<part> is optional, omitting it will solve both parts.

eg:

  • cargo run 3 1 to run day 3, part 1
  • cargo run 3 to run day 3, both parts

Answers are written to the terminal along with a total runtime.

Benchmarking

cargo bench <day>

eg:

  • cargo bench 3 to bench day 3

Benchmarks:

  1. parsing
  2. part 1
  3. part 2
  4. both parts combined

Note: I implement a method that avoids duplicate work between part 1 and part 2 sometimes, so benchmarking both parts is NOT the same as adding part1 to part 2.