File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ The Cargo home consists of following components:
18
18
* ` credentials.toml `
19
19
Private login credentials from [ ` cargo login ` ] in order to log in to a [ registry] [ def-registry ] .
20
20
21
- * ` .crates.toml `
22
- This hidden file contains [package][def-package] information of crates installed via [`cargo install`]. Do NOT edit by hand!
21
+ * ` .crates.toml ` , ` .crates2.json `
22
+ These hidden files contain [package][def-package] information of crates installed via [`cargo install`]. Do NOT edit by hand!
23
23
24
24
## Directories:
25
25
Original file line number Diff line number Diff line change @@ -612,6 +612,9 @@ The `[install]` table defines defaults for the [`cargo install`] command.
612
612
Sets the path to the root directory for installing executables for [ `cargo
613
613
install` ]. Executables go into a ` bin` directory underneath the root.
614
614
615
+ To track information of installed executables, some extra files, such as
616
+ ` .crates.toml ` and ` .crates2.json ` , are also created under this root.
617
+
615
618
The default if not specified is Cargo's home directory (default ` .cargo ` in
616
619
your home directory).
617
620
You can’t perform that action at this time.
0 commit comments