@@ -6,19 +6,21 @@ manifest, see the [manifest format](reference/manifest.html).
6
6
7
7
### Hierarchical structure
8
8
9
- Cargo allows to have local configuration for a particular project or global
10
- configuration (like git). Cargo also extends this ability to a hierarchical
11
- strategy. If, for example, Cargo were invoked in ` /home/foo/bar/baz ` , then the
9
+
10
+ Cargo allows local configuration for a particular project as well as global
11
+ configuration, like git. Cargo extends this to a hierarchical strategy.
12
+ If, for example, Cargo were invoked in ` /projects/foo/bar/baz ` , then the
12
13
following configuration files would be probed for and unified in this order:
13
14
14
- * ` /home /foo/bar/baz/.cargo/config `
15
- * ` /home /foo/bar/.cargo/config `
16
- * ` /home /foo/.cargo/config `
17
- * ` /home /.cargo/config `
15
+ * ` /projects /foo/bar/baz/.cargo/config `
16
+ * ` /projects /foo/bar/.cargo/config `
17
+ * ` /projects /foo/.cargo/config `
18
+ * ` /projects /.cargo/config `
18
19
* ` /.cargo/config `
20
+ * ` $HOME/.cargo/config `
19
21
20
- With this structure you can specify local configuration per-project, and even
21
- possibly check it into version control. You can also specify personal default
22
+ With this structure, you can specify configuration per-project, and even
23
+ possibly check it into version control. You can also specify personal defaults
22
24
with a configuration file in your home directory.
23
25
24
26
### Configuration format
0 commit comments