{"id":20791244,"url":"https://github.com/smudger/aoc2019-rust","last_synced_at":"2026-05-25T06:08:00.553Z","repository":{"id":110206512,"uuid":"584096371","full_name":"smudger/aoc2019-rust","owner":"smudger","description":"🎄 My solutions to the Advent of Code 2019. Written in Rust. ","archived":false,"fork":false,"pushed_at":"2023-01-01T11:53:32.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T00:43:50.427Z","etag":null,"topics":["advent-of-code","advent-of-code-2019","advent-of-code-2019-rust","aoc","aoc-2019","aoc-2019-rust","aoc-rust","aoc2019","rust","rust-lang","rustlang"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/2019","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smudger.png","metadata":{"files":{"readme":"README.adoc","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":"2023-01-01T10:44:54.000Z","updated_at":"2023-01-01T10:48:58.000Z","dependencies_parsed_at":"2023-03-13T13:57:20.354Z","dependency_job_id":null,"html_url":"https://github.com/smudger/aoc2019-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smudger/aoc2019-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smudger%2Faoc2019-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smudger%2Faoc2019-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smudger%2Faoc2019-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smudger%2Faoc2019-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smudger","download_url":"https://codeload.github.com/smudger/aoc2019-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smudger%2Faoc2019-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28022631,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["advent-of-code","advent-of-code-2019","advent-of-code-2019-rust","aoc","aoc-2019","aoc-2019-rust","aoc-rust","aoc2019","rust","rust-lang","rustlang"],"created_at":"2024-11-17T15:42:44.910Z","updated_at":"2025-12-25T06:44:20.211Z","avatar_url":"https://github.com/smudger.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":":repo: https://github.com/smudger/aoc2019-rust/blob/main\n:aoc: https://adventofcode.com/2019/day\n\n== :christmas_tree: Advent of Code 2019 - Rust\n\nMy solutions to the https://adventofcode.com/2019[Advent of Code 2019]. Written in https://www.rust-lang.org[Rust].\n\n=== :running_woman: Running the solutions\n\nEach Rust project contains one `input.txt` file and two project binaries `part1.rs` and `part2.rs`. The `input.txt` file contains the puzzle input for that day, and the binaries contain the solution to each part of the puzzle. Simply run the project with the desired binary to see the solution for that part of the problem appear.\n\nThe project may also contain a number of example inputs named sequentially starting from `example01.txt`. These inputs are used for the tests found in `lib.rs` and are not used to produce the actual solution.\n\n[source,bash]\n----\n# Switch to day 1, and run part 1\ncd day01\ncargo run --release --bin part1\n\n# or run part 2\ncargo run --release --bin part2\n----\n\n=== :trophy: Benchmarking\n\nThe {repo}/runner[`runner`] directory contains a binary {repo}/runner/src/bin/bench.rs[`bench.rs`] to benchmark the execution times for each of the solutions.\n\n[source,bash]\n----\n# Benchmark the solutions for each day\ncd runner\ncargo run --release --bin bench\n----\n\nThe {repo}/runner/src/bin/bench-ci.rs[`bench-ci.rs`] binary is used on the CI pipeline to benchmark the execution times more objectively, though still only provides a rough estimation. You can find the results below.\n\nimage::https://github.com/smudger/aoc2019-rust/actions/workflows/benchmark.yml/badge.svg[\"https://github.com/smudger/aoc2019-rust/actions/workflows/benchmark.yml\"]\n\n[format=\"csv\"]\n[options=\"header\"cols=\",m,m\"]\n|===========================\n,Part 1,Part 2\n{aoc}/1[Day 01],{repo}/day01/src/lib.rs[2200 ns],{repo}/day01/src/lib.rs[3600 ns]\n\n|===========================\n\n=== :heart: Inspiration\n\nThe project structure is inspired by the Rust Advent of Code repos by https://github.com/timvisee/advent-of-code-2022[Tim Visée] and https://github.com/ChristopherBiscardi/advent-of-code[Chris Biscardi].\n\nThe benchmarking implementation is inspired by https://github.com/timvisee/advent-of-code-2022[Tim Visée].\n\n=== :bookmark: License\n\nThis project is released under the GNU GPL-3.0 license. Check out the {repo}/LICENSE[LICENSE] file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmudger%2Faoc2019-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmudger%2Faoc2019-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmudger%2Faoc2019-rust/lists"}