1 unstable release
| 0.1.0 | Sep 18, 2025 |
|---|
#3 in #cargo-profile
8KB
100 lines
cargo-me
Manage your Rust developer profile for Cargo scaffolding.
Store your name, email, GitHub handle, license, and organization in a simple TOML file, and use it to auto-fill new crates.
✨ Features
- Initialize a profile at
~/.cargo-me.tomlwith placeholders. - Set and update fields (
name,email,github,license,organization). - Show your current profile in pretty TOML.
- Edit your profile directly in
$EDITOR(fallback to nano). - Designed to be used by other cargo subcommands (like
cargo-set).
📦 Installation
cargo install cargo-me
🚀 Usage
Initialize a profile
cargo me init
Creates ~/.cargo-me.toml:
name = "Your Name"
email = "you@example.com"
github = "your-github-handle"
license = "MIT"
organization = "Your Org"
Set values
cargo me set name "JD Plumbing"
cargo me set email "jdplumbingsoflo@gmail.com"
cargo me set github "JDPlumbing"
cargo me set license "MIT"
Show current profile
cargo me show
Output:
name = "JD Plumbing"
email = "jdplumbingsoflo@gmail.com"
github = "JDPlumbing"
license = "MIT"
organization = "Your Org"
Edit in your favorite editor
cargo me edit
Uses $EDITOR if set, otherwise falls back to nano.
📊 Example workflow
- Run
cargo me initonce to set up your profile. - Update with
cargo me set ...orcargo me edit. - Other tools (like
cargo-set) can now auto-fill your crate metadata.
⚖️ License
MIT License. See LICENSE for details.
Dependencies
~1–13MB
~96K SLoC