All tools/Cargo

Cargo

cargo

Rust's package manager and build tool.

Detected by cargo | macOS, Linux, Windows |doc.rust-lang.org

Sync rules

What travels, what stays, what never leaves
Cargo in your home directory Every rule on this page, by file
paths = ["/Users/octocat/src/serde-fork"]machine-local
[build]
target-dir = "/Users/octocat/.cache/cargo-target"machine-local
jobs = 8
[net]

Each machine keeps its own copy of these.

· config Sync
· registry/ Exclude
· git/ Exclude
· bin/ Exclude
· .package-cache Exclude
· .crates.toml Exclude
· .crates2.json Exclude
· credentials.toml Never synced
· credentials Never synced

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/cargo. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these keeps all credential files out. None of them splits paths and build.target-dir for you — that part is Otty’s own sync, or a template you write by hand.