mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Doc about InstallTracker files and install.root
This commit is contained in:
parent
39ed55e3b9
commit
991e560108
@ -18,8 +18,8 @@ The Cargo home consists of following components:
|
|||||||
* `credentials.toml`
|
* `credentials.toml`
|
||||||
Private login credentials from [`cargo login`] in order to log in to a [registry][def-registry].
|
Private login credentials from [`cargo login`] in order to log in to a [registry][def-registry].
|
||||||
|
|
||||||
* `.crates.toml`
|
* `.crates.toml`, `.crates2.json`
|
||||||
This hidden file contains [package][def-package] information of crates installed via [`cargo install`]. Do NOT edit by hand!
|
These hidden files contain [package][def-package] information of crates installed via [`cargo install`]. Do NOT edit by hand!
|
||||||
|
|
||||||
## Directories:
|
## Directories:
|
||||||
|
|
||||||
|
@ -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
|
Sets the path to the root directory for installing executables for [`cargo
|
||||||
install`]. Executables go into a `bin` directory underneath the root.
|
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`, would also be created under this root.
|
||||||
|
|
||||||
The default if not specified is Cargo's home directory (default `.cargo` in
|
The default if not specified is Cargo's home directory (default `.cargo` in
|
||||||
your home directory).
|
your home directory).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user