File tree Expand file tree Collapse file tree 3 files changed +7
-40
lines changed Expand file tree Collapse file tree 3 files changed +7
-40
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,9 @@ DESCRIPTION
36
36
37
37
o Symlinks are flattened to their target files.
38
38
39
- o Subdirectories containing Cargo.toml are excluded, as they are
40
- assumed to be separate packages.
41
-
42
- o A target directory in the root of the package is excluded.
43
-
44
- o Files and directories matching the [include] and [exclude] fields
45
- in the manifest are included or excluded. Include patterns can
46
- override the following rules.
47
-
48
- o Files that are ignored by VCS are excluded.
49
-
50
- o Unix hidden files and directories (starting with .) are excluded.
39
+ o Files and directories are included or excluded based on rules
40
+ mentioned in the [include] and [exclude] fields
41
+ <https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields>.
51
42
52
43
3. Extract the .crate file and build it to verify it can build.
53
44
Original file line number Diff line number Diff line change @@ -28,14 +28,8 @@ stored in the `target/package` directory. This performs the following steps:
28
28
about the current VCS checkout hash if available, as well as a flag if the
29
29
worktree is dirty.
30
30
- Symlinks are flattened to their target files.
31
- - Subdirectories containing ` Cargo.toml ` are excluded, as they are assumed
32
- to be separate packages.
33
- - A ` target ` directory in the root of the package is excluded.
34
- - Files and directories matching the ` [include] ` and ` [exclude] ` fields in
35
- the manifest are included or excluded. Include patterns can override the
36
- following rules.
37
- - Files that are ignored by VCS are excluded.
38
- - Unix hidden files and directories (starting with ` . ` ) are excluded.
31
+ - Files and directories are included or excluded based on rules mentioned in
32
+ [ the ` [include] ` and ` [exclude] ` fields] ( ../reference/manifest.html#the-exclude-and-include-fields ) .
39
33
40
34
3 . Extract the ` .crate ` file and build it to verify it can build.
41
35
- This will rebuild your package from scratch to ensure that it can be
Original file line number Diff line number Diff line change @@ -51,26 +51,8 @@ worktree is dirty.
51
51
.RE
52
52
.sp
53
53
.RS 4
54
- \h '-04' \(bu \h '+02' Subdirectories containing \fB Cargo.toml \fR are excluded, as they are assumed
55
- to be separate packages.
56
- .RE
57
- .sp
58
- .RS 4
59
- \h '-04' \(bu \h '+02' A \fB target \fR directory in the root of the package is excluded.
60
- .RE
61
- .sp
62
- .RS 4
63
- \h '-04' \(bu \h '+02' Files and directories matching the \fB [include] \fR and \fB [exclude] \fR fields in
64
- the manifest are included or excluded. Include patterns can override the
65
- following rules.
66
- .RE
67
- .sp
68
- .RS 4
69
- \h '-04' \(bu \h '+02' Files that are ignored by VCS are excluded.
70
- .RE
71
- .sp
72
- .RS 4
73
- \h '-04' \(bu \h '+02' Unix hidden files and directories (starting with \fB \& . \fR ) are excluded.
54
+ \h '-04' \(bu \h '+02' Files and directories are included or excluded based on rules mentioned in
55
+ \fI the \f(BI [include] \fI and \f(BI [exclude] \fI fields \fR <https://doc.rust\- lang.org/cargo/reference/manifest.html#the\- exclude\- and\- include\- fields>\& .
74
56
.RE
75
57
.RE
76
58
.sp
You can’t perform that action at this time.
0 commit comments