# cargo-plugin-utils
[](https://crates.io/crates/cargo-plugin-utils)
[](https://docs.rs/cargo-plugin-utils)
[](https://github.com/dataroadinc/cargo-plugin-utils/actions)
[](https://creativecommons.org/licenses/by-sa/4.0/)
Shared utilities for cargo plugins, including logger with subprocess
handling, common functions for package detection and repository
discovery.
## Features
- **Logger**: Cargo-style progress and status messages with subprocess
support
- **Subprocess Runner**: Run subprocesses with PTY mode, scrolling
regions, and ANSI color preservation
- **Common Utilities**: Package detection, repository discovery, and
other shared functionality
## Usage
Add to your `Cargo.toml`:
```toml
[dependencies]
cargo-plugin-utils = "0.0.1"
```