Skip to content

⭐ Advent of Code 2020: Мade with Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

sergree/aoc2020

Repository files navigation

Advent of Code 2020: Мade with Rust

When I was solving puzzles, my goal was to practice writing idiomatic Rust. My solutions do not claim to be the fastest or fully production ready. Consider this as the 2020 version of BurntSushi's 2018 Advent of Code solutions. I tried to maintain it's style by adding my own features.

  • 🧘 Panicless idiomatic Rust code
  • ☂️ DRY: shared codebase between the two parts
  • 1️⃣ Single main.rs per day
  • 🎿 Acceptable speed
  • 🤷 anyhow error handling
  • 🌞 Doesn't need Nightly

The solution runs the same way as BurntSushi's: cd into it's directory and invoke the program with Cargo:

$ cd aoc01
$ cargo run --release < input/input.txt

MSRV

The minimum supported Rust version is 1.51 due to Const Generics.

My Favorite Alternatives

Check them out too!

Releases

No releases published

Packages

No packages published

Languages