{"id":17169143,"url":"https://github.com/rnag/cargo-rx","last_synced_at":"2025-07-02T23:32:24.643Z","repository":{"id":41869361,"uuid":"476794765","full_name":"rnag/cargo-rx","owner":"rnag","description":"A simple, modern fuzzy finder tool to run examples in a Cargo project.","archived":false,"fork":false,"pushed_at":"2023-04-15T03:36:36.000Z","size":83,"stargazers_count":14,"open_issues_count":13,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-25T12:55:48.198Z","etag":null,"topics":["cargo","cli","crates","example","examples","fuzzy-finder","fzf","run-example","rust","skim"],"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/rnag.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["rnag"],"custom":["https://www.buymeacoffee.com/ritviknag"]}},"created_at":"2022-04-01T16:30:57.000Z","updated_at":"2023-03-13T21:31:23.000Z","dependencies_parsed_at":"2025-04-13T16:16:00.074Z","dependency_job_id":null,"html_url":"https://github.com/rnag/cargo-rx","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/rnag/cargo-rx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnag%2Fcargo-rx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnag%2Fcargo-rx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnag%2Fcargo-rx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnag%2Fcargo-rx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnag","download_url":"https://codeload.github.com/rnag/cargo-rx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnag%2Fcargo-rx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263232825,"owners_count":23434745,"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":["cargo","cli","crates","example","examples","fuzzy-finder","fzf","run-example","rust","skim"],"created_at":"2024-10-14T23:25:10.869Z","updated_at":"2025-07-02T23:32:24.539Z","avatar_url":"https://github.com/rnag.png","language":"Rust","funding_links":["https://github.com/sponsors/rnag","https://www.buymeacoffee.com/ritviknag","https://www.buymeacoffee.com/ritviknag)."],"categories":[],"sub_categories":[],"readme":"# cargo-rx\n\n[\u003cimg alt=\"github\" src=\"https://img.shields.io/badge/github-source-8da0cb?style=for-the-badge\u0026labelColor=555555\u0026logo=github\" height=\"20\"\u003e](https://github.com/rnag/cargo-rx)\n[\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/cargo-rx.svg?style=for-the-badge\u0026color=fc8d62\u0026logo=rust\" height=\"20\"\u003e](https://crates.io/crates/cargo-rx)\n[\u003cimg alt=\"docs.rs\" src=\"https://img.shields.io/docsrs/cargo-rx/latest?style=for-the-badge\u0026labelColor=555555\u0026logoColor=white\u0026logo=data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxwYXRoIGZpbGw9IiNmNWY1ZjUiIGQ9Ik00ODguNiAyNTAuMkwzOTIgMjE0VjEwNS41YzAtMTUtOS4zLTI4LjQtMjMuNC0zMy43bC0xMDAtMzcuNWMtOC4xLTMuMS0xNy4xLTMuMS0yNS4zIDBsLTEwMCAzNy41Yy0xNC4xIDUuMy0yMy40IDE4LjctMjMuNCAzMy43VjIxNGwtOTYuNiAzNi4yQzkuMyAyNTUuNSAwIDI2OC45IDAgMjgzLjlWMzk0YzAgMTMuNiA3LjcgMjYuMSAxOS45IDMyLjJsMTAwIDUwYzEwLjEgNS4xIDIyLjEgNS4xIDMyLjIgMGwxMDMuOS01MiAxMDMuOSA1MmMxMC4xIDUuMSAyMi4xIDUuMSAzMi4yIDBsMTAwLTUwYzEyLjItNi4xIDE5LjktMTguNiAxOS45LTMyLjJWMjgzLjljMC0xNS05LjMtMjguNC0yMy40LTMzLjd6TTM1OCAyMTQuOGwtODUgMzEuOXYtNjguMmw4NS0zN3Y3My4zek0xNTQgMTA0LjFsMTAyLTM4LjIgMTAyIDM4LjJ2LjZsLTEwMiA0MS40LTEwMi00MS40di0uNnptODQgMjkxLjFsLTg1IDQyLjV2LTc5LjFsODUtMzguOHY3NS40em0wLTExMmwtMTAyIDQxLjQtMTAyLTQxLjR2LS42bDEwMi0zOC4yIDEwMiAzOC4ydi42em0yNDAgMTEybC04NSA0Mi41di03OS4xbDg1LTM4Ljh2NzUuNHptMC0xMTJsLTEwMiA0MS40LTEwMi00MS40di0uNmwxMDItMzguMiAxMDIgMzguMnYuNnoiPjwvcGF0aD48L3N2Zz4K\" height=\"20\"\u003e](https://docs.rs/cargo-rx)\n[\u003cimg alt=\"build status\" src=\"https://img.shields.io/github/actions/workflow/status/rnag/cargo-rx/build.yml?branch=main\u0026style=for-the-badge\" height=\"20\"\u003e](https://github.com/rnag/cargo-rx/actions/workflows/build.yml?query=branch%3Amain)\n\n**`cargo-rx` is a simple fuzzy finder and *R*unner for *Ex*amples in a [Cargo] project.**\n\n\u003ca href=\"https://asciinema.org/a/483363\"\u003e\n  \u003cimg src=\"https://asciinema.org/a/483363.svg\" alt=\"rx demo\" height=\"50%\" width=\"72%\" /\u003e\n\u003c/a\u003e\n\n[Cargo]: http://doc.crates.io/\n\nThis crate provides a single executable: `rx`.\nBasically anywhere you would use `cargo run --example` in a\nRust project, try `rx` instead.\n\n**If this project has helped you, please consider making a [donation](https://www.buymeacoffee.com/ritviknag).**\n\n\u003c!-- TODO\n## Getting started\n--\u003e\n\n## Table of Contents\n\n* [Installation](#installation)\n  * [From source](#from-source)\n  * [From binaries](#from-binaries)\n  * [Windows](#windows)\n* [Features](#features)\n* [Contributing](#contributing)\n* [Buy me a coffee](#buy-me-a-coffee)\n* [License](#license)\n* [Authors](#authors)\n\n## Installation\n\n### From source\n\nEnsure that you have a fairly recent version of [rust/cargo] installed. Then, run:\n\n```shell\n$ cargo install cargo-rx\n```\n\n*Compiler support: requires rustc 1.58+*\n\n[rust/cargo]: https://doc.rust-lang.org/cargo/getting-started/installation.html\n\n### From binaries\n\nCheck out the [Releases page] for pre-built binaries compatible\nwith various architectures.\n\n[Releases page]: https://github.com/rnag/cargo-rx/releases\n\n### Windows\n\nNote that on a *Windows* environment, you will also need to have [fzf installed]\nand available in your *$PATH* variable.\n\nAn easy way to install fzf is via [Chocolatey]:\n\n```console\nchoco install fzf\n```\n\nThere is currently a [feature request] open on `skim` which proposes adding\nsupport for Windows, but this has not been currently implemented yet --\nthus, the `fzf` tool serves as a stand-in alternative for now.\n\n[fzf installed]: https://github.com/junegunn/fzf#windows\n[Chocolatey]: https://chocolatey.org/packages/fzf\n[feature request]: https://github.com/lotabout/skim/issues/293\n\n## Features\n\n* Fuzzy finder, which leverages [skim] to sort and search for *examples* in a Cargo project -- when called with just `rx`.\n* Pass arguments after `--` to the selected example.\n* Automatically [enables required-features] when running an example.\n* Support for nested [crates with binary targets].\n* Play back of most recently run example via the `--replay` option.\n* Automatically enables `+nightly` toolchain when passed in *unstable options* to `cargo run`, such as `--unit-graph`.\n\n[skim]: https://github.com/lotabout/skim\n[enables required-features]: https://github.com/rust-lang/cargo/issues/4663\n[crates with binary targets]: https://github.com/rnag/cargo-rx/issues/19\n\n## Contributing\n\nContributions are welcome! Open a pull request to fix a bug, or [open an issue][]\nto discuss a new feature or change.\n\nCheck out the [Contributing][] section in the docs for more info.\n\n[Contributing]: CONTRIBUTING.md\n[open an issue]: https://github.com/rnag/cargo-rx/issues\n\n## Buy me a coffee\n\nLiked some of my work? Buy me a coffee (or more likely a beer)\n\n\u003ca href=\"https://www.buymeacoffee.com/ritviknag\" target=\"_blank\"\u003e\u003cimg src=\"https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\"\u003e\u003c/a\u003e\n\n## License\n\nThis project is proudly licensed under the MIT license ([LICENSE](LICENSE)\nor http://opensource.org/licenses/MIT).\n\n`cargo-rx` can be distributed according to the MIT license. Contributions\nwill be accepted under the same license.\n\n## Authors\n\n* `cargo-rx` is brought to you by [Ritvik Nag](https://github.com/rnag).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnag%2Fcargo-rx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnag%2Fcargo-rx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnag%2Fcargo-rx/lists"}