{"id":22674548,"url":"https://github.com/afroborg/advent-of-code-23","last_synced_at":"2025-03-29T12:21:39.533Z","repository":{"id":210200952,"uuid":"725990363","full_name":"afroborg/advent-of-code-23","owner":"afroborg","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-13T13:26:39.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T13:23:04.580Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afroborg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-01T09:51:50.000Z","updated_at":"2023-12-01T09:52:21.000Z","dependencies_parsed_at":"2023-12-13T11:22:44.562Z","dependency_job_id":"b55f0a9b-1a07-466a-af9b-e1e94ef9947c","html_url":"https://github.com/afroborg/advent-of-code-23","commit_stats":null,"previous_names":["afroborg/advent-of-code-23"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fadvent-of-code-23","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fadvent-of-code-23/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fadvent-of-code-23/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afroborg%2Fadvent-of-code-23/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afroborg","download_url":"https://codeload.github.com/afroborg/advent-of-code-23/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246181715,"owners_count":20736610,"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-09T17:17:02.072Z","updated_at":"2025-03-29T12:21:39.513Z","avatar_url":"https://github.com/afroborg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of code 2023\n\nSolutions for [Advent of code 2023](https://adventofcode.com/2023).\n\n## Project structure\n\n- `template` - template for new day\n- `day-xx` - solution for day `xx`\n  - `input1.txt` - input data for day `xx`\n  - `input2.txt` - input data for day `xx`\n  - `src` - source code for day `xx`\n    - `bin` - binaries to get the solution\n      - `part1.rs` - runs the solution for part 1 using `input1.txt`\n      - `part2.rs` - runs the solution for part 2 using `input2.txt`\n    - `lib.rs` - library with common code for part 1 and 2\n    - `part1.rs` - solution for part 1\n    - `part2.rs` - solution for part 2\n\n### Testing\n\n```bash\ncargo test part1\ncargo test part2\n```\n\nThis runs the tests in `part1.rs` and `part2.rs` respectively.\n\n## Generating a new day\n\nUses [cargo-generate](https://github.com/cargo-generate/cargo-generate) to generate a new day based on the [`template`](./template) directory.\n\n```bash\ncargo generate --path ./template --name day-xx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafroborg%2Fadvent-of-code-23","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafroborg%2Fadvent-of-code-23","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafroborg%2Fadvent-of-code-23/lists"}