Commit Graph

139 Commits

Author SHA1 Message Date
bc3ea85dae Adds cargo and adds nix to editor config.
Some checks failed
Continuous Integration / Continuous Integration (push) Failing after 1m2s
2025-12-11 16:34:08 -08:00
ee116e4c52 Adds Flake.nix and .envrc
Some checks failed
Continuous Integration / Continuous Integration (push) Has been cancelled
2025-12-11 16:32:15 -08:00
Felix Spöttel
c89b57bb47 fix: fmt 2025-11-26 14:19:56 +01:00
Felix Spöttel
4bf768288d chore: bump AOC_YEAR to 2025 2025-11-26 14:16:22 +01:00
Felix Spöttel
a939163268 feat: update to rust edition 2024 2025-11-26 14:14:49 +01:00
Felix Spöttel
b67460e2b9
fix: clippy warning 2025-11-24 19:29:12 +01:00
Tristan Guichaoua
ead6e2ccf7
Make Day::new const and remove Day::__new_unchecked (#73) 2025-11-22 10:15:59 +01:00
Felix Spöttel
012c8e1286
Merge pull request #75 from penelopeysm/main 2024-12-11 13:26:22 +01:00
Penelope Yong
1f140f6047
Fix a README typo 2024-12-11 11:41:45 +00:00
Penelope Yong
8d92a20cde
Remove warning in README 2024-12-11 11:38:45 +00:00
Penelope Yong
6d4f9b50c8
Use u64 to represent solution
Some puzzles have solutions which are too large for `u32`s.
2024-12-11 11:34:34 +00:00
Jonas
36608db7b3
feat: use basename var in vscode debug (#69)
removes the need to specify the current day in `launch.json`
2024-12-03 11:48:35 +01:00
Abdul-Rahman Sibahi
a50047ab0d
perf: avoid clone in bencher (#67)
---------

Co-authored-by: Matt Clarke <mattjclarke94@gmail.com>
2024-12-02 22:53:46 +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
Matt Clarke
a49a1d3c4a
chore: bump year to 2024 (#65) 2024-11-30 17:51:55 +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
RG
3657f8c6dc
feat(scaffold): overwrite argument (#63) 2024-10-31 23:02:13 +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
Mark Karasek
a9ba30187c
fix: use server time for cargo today (#61) 2023-12-19 00:36:18 +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
Tristan Guichaoua
234ac70c4e
feat: make time command less noisy (#56) 2023-12-11 12:59:21 +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
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
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