Commit graph

73 commits

Author SHA1 Message Date
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
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
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
Peter Anning
f6b75e38a5
docs: fix broken internal link to aoc-cli setup (#5) 2022-11-06 12:00:21 +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
Peter Anning
b1149487c5
docs: fix leftover occurence of cargo day (#3) 2022-11-06 10:30:19 +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