{"id":16713894,"url":"https://github.com/shepmaster/mini-crater","last_synced_at":"2025-09-03T07:36:19.903Z","repository":{"id":66121576,"uuid":"362455225","full_name":"shepmaster/mini-crater","owner":"shepmaster","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-04T20:28:39.000Z","size":56,"stargazers_count":31,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T06:14:22.276Z","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/shepmaster.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-28T12:13:35.000Z","updated_at":"2025-01-14T15:13:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"3664a794-1c37-4a96-a61d-9f8b80c202fc","html_url":"https://github.com/shepmaster/mini-crater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shepmaster/mini-crater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shepmaster%2Fmini-crater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shepmaster%2Fmini-crater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shepmaster%2Fmini-crater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shepmaster%2Fmini-crater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shepmaster","download_url":"https://codeload.github.com/shepmaster/mini-crater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shepmaster%2Fmini-crater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273409559,"owners_count":25100446,"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-09-03T02:00:09.631Z","response_time":76,"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":[],"created_at":"2024-10-12T20:48:27.014Z","updated_at":"2025-09-03T07:36:19.850Z","avatar_url":"https://github.com/shepmaster.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mini-crater\n\nThis tool finds the crates that rely on a target crate and builds them\nlocally with an updated version of the target crate. This can be used\nto evaluate the scope of a breaking change before it is released.\n\n# Usage\n\n1. Install the tool\n\n    ```\n    cargo install --git https://github.com/shepmaster/mini-crater\n    ```\n\n1. Run the tool. Provide the crate name, the version to upgrade from,\n   and one or more patch lines to substitute in. You can set the\n   environment variable `RUST_LOG=trace` to have more detail about the\n   process.\n\n# Examples\n\n## Normal upgrade\n\nThis evaluates crates that use SNAFU 0.6 to see if they will all build\nwith a locally-modified version of `snafu` and `snafu-derive`.\n\n```\nmini-crater snafu \\\n  --version 0.6 \\\n  --patch snafu=/Users/shep/Projects/snafu \\\n  --patch snafu-derive=/Users/shep/Projects/snafu/snafu-derive\n```\n\n## Applying changes along with the upgrade\n\nThis runs a user-specified script called `adjust-code.sh` as the\nsecond build step:\n\n```\nmini-crater snafu \\\n  --version 0.6 \\\n  --patch snafu=/Users/shep/Projects/snafu \\\n  --patch snafu-derive=/Users/shep/Projects/snafu/snafu-derive \\\n  --use-git \\\n  --post-command /tmp/adjust-code.sh\n```\n\nUser-specified scripts have the following environment variables available:\n\n- `MINI_CRATER_WORKING_DIR` - The root working directory.\n- `MINI_CRATER_EXPERIMENT_NAME` - The name of the current crate being\n  experimented on.\n- `MINI_CRATER_EXPERIMENT_CHECKOUT_DIR` - When a git checkout has been\n  performed, this points to the top of the checkout.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshepmaster%2Fmini-crater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshepmaster%2Fmini-crater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshepmaster%2Fmini-crater/lists"}