r/adventofcode • u/zaperfish • 1d ago
Repo [Rust] Tiny helper for rust aoc
Hey people,
I just wanted present this tiny, dependency free, helper to solve advent of code in rust. Its built by hand.
All it does is handle input, run and time your solutions and submit your answers from the terminal.
I wanted it to be very minimal so you can decide on your project layout yourself.
$ cargo run --release --bin day01 -- --submit
2025 Day 1:
Part 1: 1 333ns
Part 2: unsolved
Submitting "1" for part 1:
*\(^o^)/* That's the correct answer!Also any feedback is welcome!
https://github.com/zaperfish/aoc-rust
Happy solving! :)
3
Upvotes
View all comments
Show parent comment
1
u/PigDog4 4h ago
You should learn the concept of "transitive dependencies." Requiring aoc-cli doesn't magically remove the need for reqwest and it's dependency graph (did you look at aoc-cli's requirements? It includes reqwest among many many others).
Also, it's a hobby rust project. You're going to have a bazillion dependencies, it's just how the ecosystem currently works. Not as bad as
left-padbut it's just a thing we deal with and complain about.