{"id":23097384,"url":"https://github.com/mitchellmarinodev/aoc_template_rs","last_synced_at":"2025-04-03T20:16:31.015Z","repository":{"id":63698308,"uuid":"569897041","full_name":"MitchellMarinoDev/aoc_template_rs","owner":"MitchellMarinoDev","description":"A rust template for advent of code.","archived":false,"fork":false,"pushed_at":"2023-12-03T07:27:15.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T08:27:47.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MitchellMarinoDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-23T21:42:21.000Z","updated_at":"2022-12-01T23:35:40.000Z","dependencies_parsed_at":"2023-12-03T08:23:53.446Z","dependency_job_id":"183bc28a-cb63-41b7-8fe1-1264c0a6598b","html_url":"https://github.com/MitchellMarinoDev/aoc_template_rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellMarinoDev%2Faoc_template_rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellMarinoDev%2Faoc_template_rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellMarinoDev%2Faoc_template_rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellMarinoDev%2Faoc_template_rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MitchellMarinoDev","download_url":"https://codeload.github.com/MitchellMarinoDev/aoc_template_rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070926,"owners_count":20878586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T22:57:54.371Z","updated_at":"2025-04-03T20:16:30.979Z","avatar_url":"https://github.com/MitchellMarinoDev.png","language":"Rust","readme":"# Advent of Code Template\n\nThis is a template for solving the [advent of code](https://adventofcode.com) \nchallenges in rust. This template makes it easy to keep your solutions organized,\nand gets rid of the setup. This way you can focus on solving the puzzles, not the\nsetup.\n\n## Features\n\n - CLI Arg parsing with [clap](https://docs.rs/clap) to easily configure what runs\n   - By default, `cargo run` will run your most recent day, which is usually what you \nwant.\n   - You can run a specific day with `cargo r -- -d4` (replacing 4 with the day you want to run).\nor run all of them with `cargo run -- -a`.\n - Solutions are automatically timed so that you have a general idea of execution \ntime. Of course, make sure to run with the `--release` flag before making any \noptimizations.\n - Pretty output: This template makes use of the [colored](https://docs.rs/colored)\ncrate to color and bold output. The results of your code are colored according to\n`solutions.rs`: blue if you haven't entered a solution yet, green if they match,\nor red if they don't match. \n - Tests: If you put your solutions in `solutions.rs`, running `cargo test` will \n test the current day. This can be helpful if you want to refactor your solution\n after you solved it. To test every day, run `cargo test -- --include-ignored`.\n\n## Get Started\n\n1. On GitHub, click \"Use this template\" then \"Create New Repository\".\n2. Download your input, and put it in the `./input/` folder with the format\n`dXX.txt`. ex. `d05.txt`.\n3. Write your day 1 code in `./src/days/d1.rs`. \n4. As you work though the puzzles, increment the `CURRENT_DAY` constant in \n`main.rs`, so that `cargo run` runs the right puzzle.\n5. When you solve a puzzle, put your solution in `solutions.rs`. This colors\nyour output green or red according to if the solution matches or not, and \nallows you to do `cargo test` to test your solutions.\n\n## License\n\nThis template is licensed under the [CC0 1.0 Universal](LICENSE).\n\n## Contributions\n\nIf you see something that could use improvement, or you want to add a feature, \nopen a PR. Any contributions made will be subject to the above license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellmarinodev%2Faoc_template_rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellmarinodev%2Faoc_template_rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellmarinodev%2Faoc_template_rs/lists"}