mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Add an array of tables example to the manifest docs
This commit is contained in:
parent
34610eb076
commit
83fc0760d8
@ -741,6 +741,12 @@ harness = true
|
||||
# 2018 edition or only compiling one unit test with the 2015 edition. By default
|
||||
# all targets are compiled with the edition specified in `[package]`.
|
||||
edition = '2015'
|
||||
|
||||
# Here's an example of a TOML "array of tables" section, in this case specifying
|
||||
# a binary target name and path.
|
||||
[[bin]]
|
||||
name = "my-cool-binary"
|
||||
path = "src/my-cool-binary.rs"
|
||||
```
|
||||
|
||||
The `[package]` also includes the optional `autobins`, `autoexamples`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user