Commit Graph
73 Commits
Author SHA1 Message Date
Felix Spöttel 6708184f1b docs: improve wording (#34) 2023-11-01 10:45:55 +01:00
Felix SpöttelandAndy 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öttelandPeter 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
Felix Spöttel c8219d41b8 feat: add --year flag for download script 2021-12-30 11:14:53 +01:00
Felix Spöttel b01de14927 chore: remove rustflags, manual lto setting 2021-12-30 10:24:06 +01:00
Felix Spöttel c44d5d0cdf chore: remove itertools dep. from template 2021-12-29 19:46:04 +01:00
Felix Spöttel 8441cb2fde feat: add total timing 2021-12-29 19:46:04 +01:00
Felix Spöttel 7430afb606 docs: link solution template in scaffold section 2021-12-29 19:46:04 +01:00
Felix Spöttel ec1831c83d ci: rename ci workflow, add badge 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