Skip to content

Commit 2a49344

Browse files
authored
README.md: simplify notes on Cargo version
1 parent a64ca12 commit 2a49344

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,8 @@ categories will be synced from this file.
195195

196196
**DISCLAIMER: The process of setting up a mirror is a work-in-progress and is
197197
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.**
202200

203201
### Current functionality: a read-only, download-API-only mirror
204202

@@ -249,10 +247,8 @@ to your API server.
249247

250248
### Local Cargo Setup
251249

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.
256252

257253
In the project where you want to use your mirror, change your `.cargo/config`
258254
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"
265261

266262
[source.crates-io]
267263
replace-with = "mirror"
268-
registry = 'https://doesnt-matter-but-must-be-present'
269264
```
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

Comments
 (0)