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
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
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
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
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
00407542e4
feat: add helpers module
2022-10-17 11:19:08 +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
8441cb2fde
feat: add total
timing
2021-12-29 19:46:04 +01:00
Felix Spöttel
681c03ad89
feat: use cargo --bin
instead of solutions crate
2021-12-29 19:45:58 +01:00
Felix Spöttel
4449f5bc94
initial commit
2021-12-29 14:12:01 +01:00