Tom Van Eyck
f8a1368765
feat: add cargo today
command ( #43 )
2023-12-09 14:43:37 +01:00
Felix Spöttel
b696aa45da
chore(release): bump version
2023-12-07 21:23:46 +01:00
Kevin Caffrey
ff6b542114
feat: add DHAT profiler ( #52 )
2023-12-07 21:22:16 +01:00
Felix Spöttel
72e1283c11
docs: update link to template
2023-12-06 12:42:33 +01:00
Tristan Guichaoua
62bb12cb19
refactor: dry solution!
macro implementation ( #48 )
2023-12-06 12:40:46 +01:00
Tristan Guichaoua
a79ce7ad6d
refactor: extract template to its own file ( #49 )
2023-12-06 12:38:02 +01:00
Felix Spöttel
b71cbddde9
chore(release): bump version
2023-12-06 10:43:27 +01:00
Felix Spöttel
c241820c41
feat: use hint::black_box for benchmark evaluation ( #47 )
...
* this prevents cases where subsequent invocations of a solution fully unroll it, leading to deceivingly low execution times being reported.
2023-12-06 10:08:35 +01:00
Felix Spöttel
a9dcd181aa
docs: update wording
2023-12-05 23:41:28 +01:00
Matt Clarke
df48bfe6ec
feat: add macro arms for running individual parts of a solution ( #44 )
2023-12-05 22:56:53 +01:00
Felix Spöttel
9d064019c3
refactor: move Day
struct to template
module ( #40 )
2023-12-05 22:39:20 +01:00
Felix Spöttel
3260b731be
feat: add --download
flag to scaffold ( #46 )
2023-12-05 22:35:32 +01:00
Marcelo Fornet
47e4f227bd
fix: spelling error in stars-action commit message ( #38 )
2023-12-01 15:37:21 +01:00
Felix Spöttel
58916603d0
chore(release): bump version
2023-12-01 13:59:31 +01:00
Felix Spöttel
61cc69b124
fix: cargo fmt
2023-12-01 13:49:39 +01:00
Felix Spöttel
38dc536984
feat: add read_file_part()
helper
...
closes #37
2023-12-01 13:25:07 +01:00
Felix Spöttel
b7b5a58f0f
fix: gitignore puzzle descriptions
2023-12-01 10:15:39 +01:00
Felix Spöttel
8376a61d0b
fix: only gitignore real puzzle inputs
2023-12-01 10:04:05 +01:00
Felix Spöttel
47ac046562
docs: improve readme formatting & wording
2023-11-28 16:35:58 +01:00
Felix Spöttel
ae1d965f45
chore: bump AOC_YEAR
to 2023
2023-11-24 09:31:13 +01:00
Felix Spöttel
fddbb2d987
chore(release): bump version
2023-11-24 09:27:19 +01:00
Tristan Guichaoua
751fde7451
ci: update readme-stars workflow ( #36 )
...
* update checkout action to v4
* update git-auto-commit-action to v5, add required write permission
* use variable for run condition, check on job level
2023-11-24 09:25:37 +01:00
Felix Spöttel
656bd38f4c
chore(release): bump version
2023-11-22 14:13:45 +01:00
Felix Spöttel
a3cc3a7efe
refactor: rename main!
macro to solution!
2023-11-22 14:13:12 +01:00
Tristan Guichaoua
6d9bf346a0
feat: use checked Day type instead of integers for days ( #35 )
2023-11-22 14:10:19 +01:00
Felix Spöttel
6653e856a6
chore(release): bump version
2023-11-01 10:48:09 +01:00
Felix Spöttel
6708184f1b
docs: improve wording ( #34 )
2023-11-01 10:45:55 +01:00
Felix Spöttel
d7af3dca9e
refactor: fix most pedantic clippy warnings
...
closes #29
Co-authored-by: Andy Pymont <andypymont@gmail.com>
2023-10-31 19:46:31 +01:00
Felix Spöttel
f46d1e209c
docs: clarify solve
command
...
* closes #33
2023-10-31 19:03:48 +01:00
Felix Spöttel
83e229c7df
fix: check in updated file layout
2023-10-21 21:55:03 +02:00
Felix Spöttel
c11ac61252
ci: fixup
2023-10-21 21:23:49 +02:00
Felix Spöttel
1b10ee20ac
ci: enable caching for cargo ( #31 )
2023-10-21 21:22:31 +02:00
Felix Spöttel
70dac9329f
feat: implement benchmarks ( #30 )
2023-10-21 21:08:46 +02:00
Felix Spöttel
d10ec0573e
feat: add --submit <part>
option to cargo solve
( #25 )
...
* remove `--year` flag in favor of `.config/config.toml`
* cleanup option handling for `cargo solve`
2023-10-21 14:46:19 +02:00
Andy Pymont
1c8ea27eae
Make the template pass cargo clippy by resolving warnings ( #28 )
...
* Resolve clippy::uninlined_format_args warnings
* See https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
2023-02-04 23:17:04 +01:00
Melvin Wang
c8c3dc04be
docs: fix "download command" link ( #27 )
...
* fix typo
2022-12-27 11:04:10 +01:00
Felix Spöttel
0908ad602b
chore: fmt
2022-12-07 00:09:33 +01:00
Felix Spöttel
4d10812fd3
feat: download puzzle descriptions ( #21 )
...
* add support for downloading puzzle descriptions in `cargo download`
* add `cargo read` command to read puzzles in terminal
* extract `aoc_cli` module
* use `aoc-cli`'s new overwrite option to eliminate temp files
2022-12-06 18:22:40 +01:00
Felix Spöttel
7ef01ab32f
fix(editorconfig): don't trim trailing whitespace in txt files
2022-12-05 09:25:59 +01:00
Burkhard Mittelbach
6ae29a25e8
ci: update actions to use actions/checkout@v3
( #17 )
2022-12-04 18:29:42 +01:00
Burkhard Mittelbach
6379e82105
Add CI hook to check code formatting using cargo fmt --check
( #18 )
2022-12-04 18:28:49 +01:00
Felix Spöttel
b8b688f9d8
fix: respect --release
when running cargo all
2022-12-04 11:56:41 +01:00
Felix Spöttel
8b6ec2b607
docs: add note about running subset of tests
2022-12-03 14:15:03 +01:00
Felix Spöttel
5090d04b26
ci: disable readme_stars.schedule by default
...
reason: if enough people use the default cron, this results in traffic burst.
document the need to change the schedule.
2022-12-01 16:28:05 +01:00
Felix Spöttel
f0a1ebe8c4
chore: bump version
2022-11-29 20:19:22 +01:00
Felix Spöttel
d0b923f727
fix: rename package to advent_of_code
( #13 )
...
`aoc` shadowed the `aoc-cli` binary which could lead to issues.
closes #12
2022-11-29 20:17:00 +01:00
Felix Spöttel
9bc635a056
chore: bump version
2022-11-29 14:10:03 +01:00
Felix Spöttel
7d663f1407
fix: compatibility with aoc-cli@^0.5.0
...
closes #11
2022-11-29 14:08:49 +01:00
Tristan Guichaoua
a6405f2edb
chore: remove hashbrown
crate suggestion
2022-11-29 11:45:38 +01:00
Tristan Guichaoua
f5b7707dd8
chore: add publish=false
( #9 )
...
fix #8
2022-11-29 11:40:59 +01:00