use [[bin]] instead of [[executable]]

This commit is contained in:
Benny 2014-07-05 15:36:36 +02:00
parent c5522e6178
commit 5790b403a5

View File

@ -7,7 +7,7 @@ The `Cargo.toml` file contains several top-level sections:
* `[project]`: project-specific details, such as name, version and author
* `[[lib]]`: information about the main library file, if one exists. By
default, the main library file is `src/<package-name>.rs`
* `[[executable]]`: optionally repeated information about executables
* `[[bin]]`: optionally repeated information about executables
that the project is generating. This can both be used for projects
that primarily build executables, as well as projects that contain
utility executables (such as an HTTP library that comes with a web
@ -53,9 +53,9 @@ Note that we plan to support multiple `Cargo.toml` files in Cargo's git
support, so you don't have to have a separate git repository per
library.
## The `[[executable]]` Section
## The `[[bin]]` Section
The `executable` section is optionally repeated. It is designed for
The `bin` section is optionally repeated. It is designed for
projects whose main raison d'être is a single executable, or for projects
that want to provide utility executables alongside a primary library.