cargo-me

Crates.iocargo-me
lib.rscargo-me
version0.1.0
created_at2025-09-18 05:16:03.541386+00
updated_at2025-09-18 05:16:03.541386+00
descriptionManage your Rust profile for Cargo scaffolding (name, email, license, etc.)
homepage
repositoryhttps://github.com/JDPlumbing/cargo-me
max_upload_size
id1844255
size23,193
Dr.Ippy (JDPlumbing)

documentation

https://docs.rs/cargo-me

README

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.toml with 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

  1. Run cargo me init once to set up your profile.
  2. Update with cargo me set ... or cargo me edit.
  3. Other tools (like cargo-set) can now auto-fill your crate metadata.

⚖️ License

MIT License. See LICENSE for details.

Commit count: 1

cargo fmt