File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 31
31
executable binary or example target. {{man "cargo-install" 1}} will use the
32
32
packaged lock file if the ` --locked ` flag is used.
33
33
- A ` .cargo_vcs_info.json ` file is included that contains information
34
- about the current VCS checkout hash if available (not included with
35
- ` --allow- dirty` ) .
34
+ about the current VCS checkout hash if available, and whether or not the
35
+ worktree is dirty.
36
36
3 . Extract the ` .crate ` file and build it to verify it can build.
37
37
- This will rebuild your package from scratch to ensure that it can be
38
38
built from a pristine state. The ` --no-verify ` flag can be used to skip
@@ -52,12 +52,16 @@ Will generate a `.cargo_vcs_info.json` in the following format
52
52
``` javascript
53
53
{
54
54
" git" : {
55
- " sha1" : " aac20b6e7e543e6dd4118b246c77225e3a3a1302"
55
+ " sha1" : " aac20b6e7e543e6dd4118b246c77225e3a3a1302" ,
56
+ " dirty" : true
56
57
},
57
58
" path_in_vcs" : " "
58
59
}
59
60
```
60
61
62
+ ` dirty ` indicates whether or not the Git worktree was dirty when the package
63
+ was built.
64
+
61
65
` path_in_vcs ` will be set to a repo-relative path for packages
62
66
in subdirectories of the version control repository.
63
67
You can’t perform that action at this time.
0 commit comments