{"id":20957218,"url":"https://github.com/drowrin/aoc2022","last_synced_at":"2025-09-11T17:33:27.915Z","repository":{"id":210126273,"uuid":"725768661","full_name":"Drowrin/aoc2022","owner":"Drowrin","description":"My Advent of Code 2022 solutions in Rust! ","archived":false,"fork":false,"pushed_at":"2023-12-03T22:41:31.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T23:45:07.320Z","etag":null,"topics":["advent-of-code","advent-of-code-2022","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Drowrin.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":"2023-11-30T20:47:23.000Z","updated_at":"2023-11-30T20:48:31.000Z","dependencies_parsed_at":"2025-01-19T23:43:46.117Z","dependency_job_id":"c1ca09be-8c52-4a45-9e63-6fc5460a0552","html_url":"https://github.com/Drowrin/aoc2022","commit_stats":null,"previous_names":["drowrin/aoc2022"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drowrin%2Faoc2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drowrin%2Faoc2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drowrin%2Faoc2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drowrin%2Faoc2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Drowrin","download_url":"https://codeload.github.com/Drowrin/aoc2022/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243352034,"owners_count":20276916,"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":["advent-of-code","advent-of-code-2022","rust"],"created_at":"2024-11-19T01:30:06.901Z","updated_at":"2025-03-13T06:13:25.882Z","avatar_url":"https://github.com/Drowrin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Advent of Code 2022\nMy solutions in Rust!\n\n\u003c/div\u003e\n\n## Usage\nThis repo uses [just](https://github.com/casey/just) to run common commands.\n\nSince I assume you've got cargo:\n```sh\ncargo install just\n```\n\nYou can then use the following commands:\n```sh\n# Initialize a project with a name based on \u003cday\u003e\njust new \u003cday\u003e\n\n# Same as above, but copies over example data, input data, and your previous solution\n# Useful for part two of each day\njust new \u003cday\u003e \u003cfrom\u003e\n\n# Run your solution for a day on the example data, and compare to the example answer\njust test \u003cday\u003e\n\n# Run your solution on your unique input data, and output the answer\njust run \u003cday\u003e \u003cflags\u003e\n\n# Transfer example data, input data, and solution from one day to another\n# Useful if you forgot to do `just new \u003cday\u003e \u003cfrom\u003e`\n# Be careful! This will overwrite files in the `to` directory\njust transfer \u003cfrom\u003e \u003cto\u003e\n```\n\n### Naming Convention\nThe `just` commands enforce a naming convention for \"days\". They must all be a 2 digit number from 01-25, followed by a single lowercase letter. This ensures the folders will sort nicely and are easy to work with. The letter at the end is useful for separating a day into two parts, such as \"a\" and \"b\".\n\nIf you want to change this behavior, edit the `validate` recipe in the `justfile`.\n\n### Structure\nOnce you've made a project with `just new \u003cday\u003e`, you'll need to copy some data from Advent of Code. For all of these, avoid trailing newlines.\n- In `data/answer.txt`, put the example answer.\n- In `data/example.txt`, put the example input.\n- In `data/input.txt`, put your unique input data.\n- Write your solution code in `src/solution.rs`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrowrin%2Faoc2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrowrin%2Faoc2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrowrin%2Faoc2022/lists"}