@@ -195,10 +195,8 @@ categories will be synced from this file.
195
195
196
196
** DISCLAIMER: The process of setting up a mirror is a work-in-progress and is
197
197
likely to change. It is not currently recommended for mission-critical
198
- production use. It also requires a version of cargo newer than 0.13.0-nightly
199
- (f09ef68 2016-08-02); the version of cargo currently on rustc's beta channel
200
- fulfils this requirement and will be shipped with rustc 1.12.0 scheduled to be
201
- released on 2016-09-29.**
198
+ production use. It also requires Cargo from Rust distribution 1.12.0 or
199
+ later.**
202
200
203
201
### Current functionality: a read-only, download-API-only mirror
204
202
@@ -249,10 +247,8 @@ to your API server.
249
247
250
248
### Local Cargo Setup
251
249
252
- **NOTE: The following configuration requires a cargo version newer than
253
- 0.13 .0-nightly (f09ef68 2016-08-02). The version of cargo that comes with rust
254
- 1.12 .0 fulfils this requirement; this version is currently on the beta channel
255
- and is scheduled to be released on 2016-09-29.**
250
+ NOTE: The following configuration requires Cargo from Rust 1.12.0
251
+ distribution or later.
256
252
257
253
In the project where you want to use your mirror, change your `.cargo/config`
258
254
to replace the crates.io source to point to your crates index:
@@ -265,9 +261,4 @@ registry = "https://[host and path to your git server]/crates.io-index"
265
261
266
262
[source.crates-io ]
267
263
replace-with = "mirror"
268
- registry = 'https://doesnt-matter-but-must-be-present'
269
264
```
270
-
271
- Once [ rust-lang/cargo #3089 ] ( https://github.com/rust-lang/cargo/pull/3089 ) is
272
- released, it won't be necessary to specify a registry URL for a source being
273
- replaced.
0 commit comments