Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc about InstallTracker files and install.root #9948

Merged
merged 2 commits into from
Sep 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/doc/src/guide/cargo-home.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ The Cargo home consists of following components:
* `credentials.toml`
Private login credentials from [`cargo login`] in order to log in to a [registry][def-registry].

* `.crates.toml`
This hidden file contains [package][def-package] information of crates installed via [`cargo install`]. Do NOT edit by hand!
* `.crates.toml`, `.crates2.json`
These hidden files contain [package][def-package] information of crates installed via [`cargo install`]. Do NOT edit by hand!

## Directories:

Expand Down
3 changes: 3 additions & 0 deletions src/doc/src/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,9 @@ The `[install]` table defines defaults for the [`cargo install`] command.
Sets the path to the root directory for installing executables for [`cargo
install`]. Executables go into a `bin` directory underneath the root.

To track information of installed executables, some extra files, such as
`.crates.toml` and `.crates2.json`, are also created under this root.

The default if not specified is Cargo's home directory (default `.cargo` in
your home directory).

Expand Down