Felix Spöttel
b67460e2b9
fix: clippy warning
2025-11-24 19:29:12 +01:00
Felix Spöttel
012c8e1286
Merge pull request #75 from penelopeysm/main
2024-12-11 13:26:22 +01:00
Felix Spöttel
3abf88c16a
fix: run cargo fmt
2024-12-01 07:28:54 +01:00
Felix Spöttel
10f8c0e1b4
fix: remove unnecessary print in cargo time ( #66 )
2024-12-01 07:24:16 +01:00
Felix Spöttel
fe89ad7990
ci: update continuous integration
2024-11-08 16:36:18 +01:00
Felix Spöttel
1d46931242
chore: remove deprecated crates vs code extension
2024-11-08 10:58:50 +01:00
Felix Spöttel
59866c3d70
chore: housekeeping
2024-10-31 23:10:19 +01:00
Felix Spöttel
e2062e33fd
fix: a few clippy warnings
2024-09-18 18:57:00 +09:00
Felix Spöttel
54f3c61092
chore(release): bump version
2023-12-22 13:11:38 +01:00
Felix Spöttel
335f2631a0
refactor: remove --time flags in favor of cargo time command ( #58 )
2023-12-13 11:55:38 +01:00
Felix Spöttel
c82e1e2c08
docs: clarify docs
2023-12-11 11:28:51 +01:00
Felix Spöttel
3aef583c58
feat: add editorconfig as recommended extension
2023-12-11 11:15:28 +01:00
Felix Spöttel
f43530b297
chore: address some clippy::pedantic warnings ( #55 )
2023-12-11 09:43:59 +01:00
Felix Spöttel
84208a663a
fix: fix vscode launch configs
2023-12-10 23:52:27 +01:00
Felix Spöttel
c9671558ac
chore(release): bump version
2023-12-10 13:58:22 +01:00
Felix Spöttel and Tristan Guichaoua
874f57b359
feat: make cargo time incremental by default ( #53 )
...
Co-authored-by: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com >
2023-12-10 13:55:17 +01:00
Felix Spöttel
4c4232139a
docs: improve skimmability
2023-12-09 15:12:52 +01:00
Felix Spöttel
b696aa45da
chore(release): bump version
2023-12-07 21:23:46 +01:00
Felix Spöttel
72e1283c11
docs: update link to template
2023-12-06 12:42:33 +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
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
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
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
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 and Andy Pymont
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
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
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
Felix Spöttel
3ac30268ea
docs: typos
2022-11-29 09:53:43 +01:00
Felix Spöttel
ffc7cdb4ce
chore: run cargo fmt
2022-11-25 16:30:15 +01:00
Felix Spöttel
9137ecc126
feat: configure vs code recommended extensions
2022-11-25 13:45:53 +00:00
Felix Spöttel
ab591ae1e9
feat: add devcontainer for codespaces
2022-11-25 13:34:00 +00:00
Felix Spöttel
c4507b6db8
fix: update scaffold command output
2022-11-25 14:25:02 +01:00
Felix Spöttel
8daca41984
fix: clippy warning in 1.65.0
2022-11-25 13:18:24 +00:00
Felix Spöttel
00a63c8afc
docs: add link to blessed.rs
2022-11-14 12:10:05 +01:00
Felix Spöttel
b66028a8f7
docs: update links pointing to master
2022-11-07 12:22:18 +01:00
Felix Spöttel
a67432389e
chore: bump version
2022-11-06 21:25:06 +01:00
Felix Spöttel and Peter Anning
132fb662de
fix: compatibility with aoc-cli^0.4.0 ( #7 )
...
Co-authored-by: Peter Anning <22272449+peteanning@users.noreply.github.com >
2022-11-06 21:23:46 +01:00
Felix Spöttel
840d617dde
docs: fix internal link to download command
2022-11-06 12:02:15 +01:00
Felix Spöttel
24ea1ba3a1
chore: bump version
2022-11-06 11:07:10 +01:00
Felix Spöttel
66ca5907f9
docs: typo
2022-11-06 11:06:06 +01:00
Felix Spöttel
e1a4fa6657
docs: improve footnote formatting
2022-11-06 11:05:31 +01:00
Felix Spöttel
e50725168a
feat: rename command day => solve
...
clearer distinction between scaffold and solve.
2022-11-03 23:02:11 +01:00
Felix Spöttel
3fb88bc654
docs: typo
2022-10-29 17:27:53 +02:00
Felix Spöttel
412c0ae687
chore: bump version
2022-10-29 17:26:14 +02:00
Felix Spöttel
e45e930602
feat: clearly mark template code
2022-10-29 17:25:11 +02:00
Felix Spöttel
e327f00aa8
fix: fix clippy lint
2022-10-29 17:21:54 +02:00
Felix Spöttel
aae6a8f029
chore: golf solution template
2022-10-29 17:17:42 +02:00
Felix Spöttel
19cdd21019
chore: bump version
2022-10-29 17:12:07 +02:00
Felix Spöttel
1dca8ac5fe
docs: add vs code debugger to optional features
2022-10-29 17:11:23 +02:00
Felix Spöttel
ec5859083a
feat: return option from solution parts
...
this allows to print _not solved_ for solution parts that haven't been solved yet.
adjust `solve` macro to handle one solution part rather than both.
this allows for easier debugging of real input.
2022-10-29 17:04:13 +02:00
Felix Spöttel
9eb5e488e2
docs: typo
2022-10-29 14:43:46 +02:00
Felix Spöttel
12b206e6ca
chore: bump version
2022-10-29 14:39:14 +02:00
Felix Spöttel
5c84286d9e
feat: add -yflag alias for download command
2022-10-29 14:36:26 +02:00
Felix Spöttel
1d991f7aab
docs: add common pitfalls section
2022-10-29 14:32:33 +02:00
Felix Spöttel
b82974cd4f
docs: add regex crate to readme
2022-10-24 15:04:19 +02:00
Felix Spöttel
30670f33fb
fix: add missing line breaks to scaffold template
2022-10-24 13:05:44 +02:00
Felix Spöttel
34ead1f65e
docs: update readme
2022-10-19 11:38:39 +02:00
Felix Spöttel
d30cd82753
docs: update usage section
2022-10-18 11:31:43 +02:00
Felix Spöttel
a9dcb53c4a
chore: bump version
2022-10-18 11:29:27 +02:00
Felix Spöttel
bd97e34f66
feat: add shorthands for running solutions
2022-10-18 11:26:56 +02:00
Felix Spöttel
6613b6bfce
fix: correct file names in scaffold
2022-10-17 18:44:08 +02:00
Felix Spöttel
afa39070de
fix: better error messages in download script
2022-10-17 15:18:32 +02:00
Felix Spöttel
8f126cb448
docs: update setup docs
2022-10-17 15:12:59 +02:00
Felix Spöttel
49123f790a
feat: implement bash scripts in rust
...
enables cross-platform support, closes #1 .
scaffold scripts adapted from code on @steventhorne's fork, thx!
2022-10-17 14:43:04 +02:00
Felix Spöttel
7b0b9f100c
ci: add optional clippy job
2022-10-17 12:21:02 +02:00
Felix Spöttel
ee12de2e3a
chore: bump version
2022-10-17 12:12:33 +02:00
Felix Spöttel
9914567649
docs: add crate section
2022-10-17 11:26:26 +02:00
Felix Spöttel
00407542e4
feat: add helpers module
2022-10-17 11:19:08 +02:00
Felix Spöttel
75aa23dcd1
docs: improve readme
2022-10-17 11:03:32 +02:00
Felix Spöttel
9fb2c434f9
feat: make readme star action opt-in
2022-10-17 11:03:22 +02:00
Felix Spöttel
37b2027a99
fix: replace git.io links
2022-04-26 09:11:57 +02:00
Felix Spöttel
fc9f90c9c2
fix: handle ANSI escapes when counting exec. time
2021-12-31 13:05:23 +01:00
Felix Spöttel
01f0749c9c
docs: clarify timings
2021-12-30 12:00:14 +01:00
Felix Spöttel
00e482bf8a
chore: mv assets => .assets
2021-12-30 11:14:53 +01:00