File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,7 @@ if foo {
101
101
102
102
# Using crates from crates.io
103
103
104
- It is allowed to use crates from crates.io, though external
105
- dependencies should not be added gratuitously. All such crates must
106
- have a suitably permissive license. There is an automatic check which
107
- inspects the Cargo metadata to ensure this.
104
+ See the [ crates.io dependencies] [ crates ] section.
108
105
109
106
<a name =" er " ></a >
110
107
@@ -152,3 +149,4 @@ to the compiler.
152
149
crate-related, often the spelling is changed to ` krate ` .
153
150
154
151
[ tcx ] : ./ty.md
152
+ [ crates ] : ./crates-io.md
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ to the compiler unless there is a good reason to do so.
21
21
The ` tidy ` tool has [ a list of crates that are allowed] . To add a
22
22
dependency that is not already in the compiler, you will need to add it to the list.
23
23
24
- [ a list of crates that are allowed ] : https://github.com/rust-lang/rust/blob/19ecce332e56941ea0dd2a805270faa102acdb14 /src/tools/tidy/src/deps.rs#L59
24
+ [ a list of crates that are allowed ] : https://github.com/rust-lang/rust/blob/9d1b2106e23b1abd32fce1f17267604a5102f57a /src/tools/tidy/src/deps.rs#L73
You can’t perform that action at this time.
0 commit comments