Skip to content

Commit

Permalink
Fix formatting (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Jul 30, 2022
1 parent 1dffb79 commit 84511af
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions docs/tutorials/create-a-project.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ The `soroban-sdk` is in early development. Report issues
:::

```toml
[features]
default = ["export"]
export = []
testutils = ["soroban-sdk/testutils"]

[dependencies]
soroban-sdk = { git = "https://github.com/stellar/rs-soroban-sdk", rev = "32b76650" }
soroban-sdk = "0.0.3"

[dev_dependencies]
project-name = { path = ".", features = ["testutils"] }

[features]
default = ["export"]
export = []
testutils = ["soroban-sdk/testutils"]
```

The `features` list and `dev_dependencies` configure three variations that the
Expand Down Expand Up @@ -96,10 +96,6 @@ The steps below should produce a `Cargo.toml` that looks like so.
name = "project-name"
version = "0.1.0"
edition = "2021"
[features]
default = ["export"]
export = []
testutils = ["soroban-sdk/testutils"]

[lib]
crate-type = ["cdylib", "rlib"]
Expand All @@ -109,6 +105,12 @@ soroban-sdk = "0.0.3"

[dev_dependencies]
project-name = { path = ".", features = ["testutils"] }

[features]
default = ["export"]
export = []
testutils = ["soroban-sdk/testutils"]

[profile.release]
opt-level = "z"
overflow-checks = true
Expand Down

0 comments on commit 84511af

Please sign in to comment.