Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clechasseur/adventofcode2017_rs

Advent of Code 2017 in Rust 🦀
https://github.com/clechasseur/adventofcode2017_rs

advent-of-code advent-of-code-2017 advent-of-code-2017-rust aoc-2017 aoc-2017-in-rust

Last synced: about 2 months ago
JSON representation

Advent of Code 2017 in Rust 🦀

Awesome Lists containing this project

README

        

# adventofcode2017_rs

Solutions to the Advent of Code 2017 puzzles in Rust 🦀

Some fine folks on the [Exercism.org Discord server](https://exercism.org/r/discord) wanted to do the [Advent of Code 2017](https://adventofcode.com/2017) puzzles together.
I have already completed those in [Kotlin before](https://github.com/clechasseur/adventofcode2017), but since it's been a while, I figured I could do them again in Rust.

## Requirements

* [Rust](https://www.rust-lang.org/) 1.75.0 or later

## Running the tests

### All puzzles for each day

```sh
cargo test
```

#### With slow tests

```sh
cargo test --features slow
```

#### With tests for utility functions

```sh
cargo test --features utils
```

### Both puzzles for one day

```sh
cargo test day_01 --all-features
```

### Single puzzle

```sh
cargo test day_01_part_1 --all-features
```