Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ewrogers/advent-of-rust-2022
Advent of Code 2022 in Rust
https://github.com/ewrogers/advent-of-rust-2022
advent-of-code advent-of-code-2022 rust
Last synced: 13 days ago
JSON representation
Advent of Code 2022 in Rust
- Host: GitHub
- URL: https://github.com/ewrogers/advent-of-rust-2022
- Owner: ewrogers
- Created: 2023-10-15T04:56:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-13T02:15:45.000Z (about 1 year ago)
- Last Synced: 2024-10-25T12:37:28.992Z (2 months ago)
- Topics: advent-of-code, advent-of-code-2022, rust
- Language: Rust
- Homepage: https://adventofcode.com/2022
- Size: 114 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎄 Advent of Rust 2022
The [Advent of Code 2022](https://adventofcode.com/2022) code challenges, written in Rust 🦀.
## 🚫📦 No Crates
These solutions do not use any external crates, only the [Rust Standard Library](https://doc.rust-lang.org/std/).
All "shared" code can be found in the `lib.rs` re-exports.
This includes custom data structures and pathfinding algorithms.## ⭐️ Getting Started
You can clone the repository to run the solutions:
```shell
$ git clone https://github.com/ewrogers/advent-of-rust-2022
$ cd advent-of-rust-2022$ cargo run --bin day1
```Each daily challenge is separated into a separate binary within `src/bin`.
## 🧩 Puzzle Inputs
Each puzzle input is located within the [data](./data) folder, named by the day.
Ex: `data/day1_input.txt`
## 1️⃣ + 2️⃣ Solutions
Solutions for both `Part I` and `Part II` are included within each day folder.
## 👨🏻🎨 Code Style
This repository uses `clippy` and `rustfmt` for code style and linting.
The `pedantic` ruleset is used to enforce best practices.