Mention deprecation of crate files.

This commit is contained in:
Graydon Hoare 2012-10-10 17:08:21 -07:00
parent c639f44adb
commit 304a2455c0
1 changed files with 3 additions and 0 deletions

View File

@ -591,6 +591,9 @@ Crates are provided to the Rust compiler through two kinds of file:
- _crate files_, that end in `.rc` and each define a `crate`.
- _source files_, that end in `.rs` and each define a `module`.
> **Note:** The functionality of crate files will be merged into source files in future versions of Rust.
> The separate processing of crate files, both their grammar and file extension, will be removed.
The Rust compiler is always invoked with a single input file, and always
produces a single output crate.