Skip to content

Commit

Permalink
Add aoc2023
Browse files Browse the repository at this point in the history
Signed-off-by: Andrej Orsula <orsula.andrej@gmail.com>
  • Loading branch information
AndrejOrsula committed Nov 30, 2023
1 parent ab2dfd9 commit d9d64b2
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = []
members = ["aoc2023"]
resolver = "2"

[workspace.package]
Expand Down
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
My solutions to [Advent of Code](https://adventofcode.com) puzzles.

- [Edition](#edition)
- [Advent of Code 2023](#advent-of-code-2023)
- [Instructions](#instructions)
- [ Usage in Rust](#-usage-in-rust)
- [ Get Answers and Run Performance Benchmarks](#-get-answers-and-run-performance-benchmarks)
Expand All @@ -21,6 +22,28 @@ My solutions to [Advent of Code](https://adventofcode.com) puzzles.

## Edition

### [Advent of Code 2023](https://adventofcode.com/2023)

<table>
<tr><th>Answer</th><th>Generator Perf.</th><th>Runner Perf.</th></tr>
<tr><td>

| Day | Part 1 | Part 2 |
| :---: | :----: | :----: |

</td><td>

| Part 1 | Part 2 |
| :----: | :----: |

</td><td>

| Part 1 | Part 2 |
| :----: | :----: |

</td></tr>
</table>

## Instructions

### <a href="#-usage-in-rust"><img src="https://rustacean.net/assets/rustacean-flat-noshadow.svg" width="16" height="16"></a> Usage in Rust
Expand Down
19 changes: 19 additions & 0 deletions aoc2023/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "aoc2023"
description = "Advent of Code 2023"
edition = "2021"
rust-version = "1.74"
version = "0.1.0"
authors.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true

[dependencies]
aoc-runner = { workspace = true }
aoc-runner-derive = { workspace = true }
indoc = { workspace = true }

[lib]
bench = false
1 change: 1 addition & 0 deletions aoc2023/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aoc_runner_derive::aoc_lib! { year = 2023 }
1 change: 1 addition & 0 deletions aoc2023/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aoc_runner_derive::aoc_main! { lib = aoc2023 }

0 comments on commit d9d64b2

Please sign in to comment.