Skip to content
Snippets Groups Projects
Commit 417acc8f authored by Jason Heard's avatar Jason Heard Committed by Jason Heard
Browse files

Add project readme and license

parent c0b0adfe
No related merge requests found
LICENSE 0 → 100644
MIT License
Copyright (c) 2022 Jason Heard
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# Advent of Code 2022
Solutions to the [Advent of Code 2022](http://adventofcode.com/2022) using Rust.
## Dependencies
This project uses Rust and so it should work on [any supported
platform](https://doc.rust-lang.org/rustc/platform-support.html).
Required tools:
- `cargo` is the package management and build tool for Rust. Instructions for
installing it along with all required Rust componentss are
[here](https://www.rust-lang.org/tools/install). The quick version is to get
[rustup](https://rustup.rs/) and run it.
## Running
To run the project:
1. Install `cargo` and Rust.
1. Download the code.
1. Execute `cargo run -p dayNN` where `NN` is the day you want to run.
- You can see the simple results (the usually included inline example) via
`cargo run -p dayNN -- --simple`
- Tests of the simple cases (and sometimes others) can be run with `cargo test`.
## Other Years' Solutions
Here are the links to my solutions for all of the years I have participated:
- [2017](https://github.com/101100/AdventOfCode2017)
- [2018](https://github.com/101100/AdventOfCode2018)
- [2019](https://gitlab.101100.ca/101100/adventofcode2019)
- [2020](https://gitlab.101100.ca/101100/adventofcode2020)
- [2021](https://gitlab.101100.ca/101100/adventofcode2021)
- [2022](https://gitlab.101100.ca/101100/adventofcode2022)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment