r/adventofcode • u/zaperfish • 10h 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! :)
5
Upvotes
View all comments
Show parent comment
1
u/PigDog4 1h ago
Second bit:
Then like one example later you explicitly need each day as it's own compiled .bin file and then later down the page you give an explicit project tree. And then say to use aoc-cli to download inputs.
So I'm confused at this point. Does this give me full flexibility or do I need to follow rigid guidelines? Can I put my stuff anywhere or do I need to follow aoc-cli's format? Do I need to scaffold a project in a specific manner?
I'm not trying to be a jagoff, I'm trying to figure out what the point of the software is. It's originally billed as a zero dependency helper crate that fetches inputs, runs and times both parts, and submits answers with no scaffolding and no files, templates, or project layouts to adopt. But then it's entirely dependent on aoc-cli and has requirements as to how the project is built.
I almost wonder if this should be advertised as an aoc-cli plugin or helper instead. "Helper crate to smooth over the aoc-cli workflow" would be more accurate I think.