Commit graph

318 commits

Author SHA1 Message Date
7433687d69 2025: fix cargo fmt
Turns out rustfmt needs a --edition 2024 flag (which cargo fmt adds
automatically), otherwise some imports change order. Of course my editor
is configured to use rustfmt via apheleia, which does not support cargo
fmt. Urgh.
2025-12-08 16:39:16 +01:00
6cf10a0eb5 2025: day04: part 2 2025-12-08 16:27:14 +01:00
8f2d42bb73 2025: day04: part 1 2025-12-08 16:15:06 +01:00
261480afa3 2025: day03: part 2 2025-12-08 12:27:32 +01:00
8a22da8ba1 2025: day03: part 1 2025-12-08 12:11:40 +01:00
9543dcb9b1 2025: day02: use log10 for digit number computation 2025-12-03 18:28:21 +01:00
0566f562ec 2025: bump criterion version 2025-12-03 18:15:12 +01:00
ef970ed47a 2025: day02: part 2 2025-12-03 18:13:18 +01:00
f0dc93b0bb 2025: day02: part 1 2025-12-03 18:13:18 +01:00
db1bae8a76 2025: setup bench for day01 2025-12-02 17:45:07 +01:00
d310ec45c0 2025: day01 2025-12-01 15:30:36 +01:00
d9c8d8155c ci: update checkout to v6 2025-12-01 14:05:28 +01:00
e2fd5ad58b cargo: bump lockfile 2025-12-01 14:04:05 +01:00
02bc7875f6 fix clippy lints 2025-12-01 13:59:22 +01:00
7c90bccfa8 flake: bump to nixos-25.11 and update rust-overlay 2025-12-01 12:17:36 +01:00
74f2ada129 aoc2020: fix clippy lints 2023-12-05 12:49:44 +01:00
0df2dd8dd8 2023: day01: part 1 2023-12-02 14:24:43 +01:00
516fed49be flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
  → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Added input 'flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/18823e511bc85ed27bfabe33cccecb389f9aa92d' (2022-12-05)
  → 'github:oxalica/rust-overlay/47fe4578cb64a365f400e682a70e054657c42fa5' (2023-12-02)
• Updated input 'rust-overlay/flake-utils':
    'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
  → 'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
• Added input 'rust-overlay/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'rust-overlay/nixpkgs':
    'github:NixOS/nixpkgs/14ccaaedd95a488dd7ae142757884d8e125b3363' (2022-10-09)
  → 'github:NixOS/nixpkgs/96ba1c52e54e74c3197f4d43026b3f3d92e83ff9' (2023-04-13)
2023-12-02 14:06:00 +01:00
175318322e 2022: bench day03 2022-12-06 18:36:59 +01:00
aa6fb34f44 2022: day03 2022-12-06 17:56:14 +01:00
5e6ffb470e 2022: bench day02 2022-12-06 16:17:40 +01:00
c1f352162c 2022: day02 2022-12-06 16:17:37 +01:00
6c64f744f7 ci: update checkout to v3 2022-12-06 01:24:19 +01:00
008fb72a98 all: fix clippy lints for rust 1.65 2022-12-06 01:24:19 +01:00
1d9433098d flake: bump to latest rust version (1.65) 2022-12-06 00:41:56 +01:00
ed66012752 2022: bench: criterion 0.4 2022-12-06 00:02:21 +01:00
2ca6bce781 2022: day01 part 2 2022-12-05 23:28:51 +01:00
a25dc5beae bump Cargo.lock 2022-12-05 23:08:19 +01:00
8e1328571b 2021: bump bitvec to 1.0 2022-12-05 23:04:07 +01:00
f3f3b40d47 2022: day 01 part 1 2022-12-05 22:57:19 +01:00
a5fd485c10 2021: day21: part 2 2021-12-21 14:47:28 +01:00
c92553fa40 2021: day21: part 1 2021-12-21 14:20:52 +01:00
5ffa2012be cargo: bump lock 2021-12-17 18:53:15 +01:00
7a8b7c994e 2021: day17: improvement ideas 2021-12-17 18:53:15 +01:00
2bc1b97c2d 2021: day17: better bounds for part 1 2021-12-17 18:39:49 +01:00
551f57f7ff 2021: day17: bench 2021-12-17 18:37:36 +01:00
ba06e006b9 2021: day17: part 2 2021-12-17 18:32:18 +01:00
026470220b 2021: day17: part 1 2021-12-17 18:22:38 +01:00
0446f11a46 2020: bump nom version
I was getting a compilation error (something in the latest Rust
compiler?), related to a nom dependency (bitvec v0.19), but nom 7 does
not depend on bitvec by default anymore, yay!

The move + clone closures feel kind of wrong though
2021-12-17 14:12:35 +01:00
4f36262761 2021: day16: bench 2021-12-16 18:01:56 +01:00
c42041017d 2021: day16: part 2 2021-12-16 17:53:06 +01:00
78f059b65c 2021: day16: part 1 2021-12-16 17:32:08 +01:00
025374e685 2021: day16: part 1: parse litterals 2021-12-16 15:55:32 +01:00
95d955f506 2021: day15: bench 2021-12-16 01:53:58 +01:00
0acae295da 2021: day15: part 2 2021-12-16 01:52:47 +01:00
d204e46890 2021: day15: part 1 2021-12-16 01:31:44 +01:00
1fb0be9e89 2021: day14: bench 2021-12-14 15:51:54 +01:00
822707939e 2021: day14: part 2 2021-12-14 15:51:54 +01:00
9d81739f2b 2021: day14: fix stack overflow in part 1 2021-12-14 13:39:48 +01:00
218d9d5298 2021: day14: part 1 2021-12-14 13:35:35 +01:00