Skip to content

Commit

Permalink
Update display of contents of Cargo.toml
Browse files Browse the repository at this point in the history
When creating a (binary) program using 'cargo new', with the new 2018 version of Rust the autogenerated Cargo.toml file contains a couple of additional lines. These lines have to do with edition and dependencies.
  • Loading branch information
vishallama authored Dec 31, 2018
1 parent 15e3b5a commit a48a9b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/src/getting-started/first-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ This is all we need to get started. First, let’s check out `Cargo.toml`:
name = "hello_world"
version = "0.1.0"
authors = ["Your Name <you@example.com>"]
edition = "2018"

[dependencies]
```

This is called a **manifest**, and it contains all of the metadata that Cargo
Expand Down

0 comments on commit a48a9b6

Please sign in to comment.