Skip to content

Commit

Permalink
added [package] entries (#248)
Browse files Browse the repository at this point in the history
allowing full 'Cargo.toml' code to be copied
  • Loading branch information
mgaylor authored Dec 12, 2022
1 parent e433db3 commit ea4f09f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/tutorials/create-a-project.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ See the [logging example] for more information about how to log.
The steps below should produce a `Cargo.toml` that looks like so.

```toml title="Cargo.toml"
[package]
name = "project-name"
version = "0.1.0"
edition = "2022"

[lib]
crate-type = ["cdylib"]

Expand Down

0 comments on commit ea4f09f

Please sign in to comment.