Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j1elo/advent-of-code-2018-rust
Problems from Advent of Code 2018, written in Rust
https://github.com/j1elo/advent-of-code-2018-rust
advent-of-code advent-of-code-2018 rust-lang
Last synced: 14 days ago
JSON representation
Problems from Advent of Code 2018, written in Rust
- Host: GitHub
- URL: https://github.com/j1elo/advent-of-code-2018-rust
- Owner: j1elo
- License: mit
- Created: 2019-09-07T01:28:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-17T20:03:49.000Z (over 3 years ago)
- Last Synced: 2024-12-05T03:26:19.937Z (2 months ago)
- Topics: advent-of-code, advent-of-code-2018, rust-lang
- Language: Rust
- Homepage: https://adventofcode.com/2018
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2018 (Rust)
Problems from [Advent of Code 2018](https://adventofcode.com/2018), written in [Rust](https://www.rust-lang.org/).
## Day preparation
To prepare a subproject for each new day:
```sh
./new-day.sh
```For example: `./new-day.sh 12` initializes all files in a directory named `day-12`.
And then add the new `day-NN` directory to the `workspace.members` array in [Cargo.toml](Cargo.toml).
## Run
To build and run the code for any of the days:
```sh
./run-day.sh
```Of course, `rustc` and `cargo` must be installed; if they are not, check the [Install Rust](https://www.rust-lang.org/tools/install) page.