Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
update docs to use rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian-dev28 committed Sep 20, 2023
1 parent 2706904 commit d505225
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/advanced-tutorials/fuzzing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4"
soroban-sdk = { version = "20.0.0-rc1", features = ["testutils"] }
soroban-sdk = { version = "20.0.0-rc2", features = ["testutils"] }

[dependencies.soroban-fuzzing-contract]
path = ".."
Expand Down
4 changes: 2 additions & 2 deletions docs/basic-tutorials/alloc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ This example depends on the `alloc` feature in `soroban-sdk`. To include it, add

```rust title="alloc/Cargo.toml"
[dependencies]
soroban-sdk = { version = "0.9.2", features = ["alloc"] }
soroban-sdk = { version = "20.0.0-rc2", features = ["alloc"] }

[dev_dependencies]
soroban-sdk = { version = "0.9.2", features = ["testutils", "alloc"] }
soroban-sdk = { version = "20.0.0-rc2", features = ["testutils", "alloc"] }
```

## Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = { version = "20.0.0-rc1" }
soroban-sdk = { version = "20.0.0-rc2" }
num-integer = { version = "0.1.45", default-features = false, features = ["i128"] }

[dev_dependencies]
soroban-sdk = { version = "20.0.0-rc1", features = ["testutils"] }
soroban-sdk = { version = "20.0.0-rc2", features = ["testutils"] }

[profile.release]
opt-level = "z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -575,10 +575,10 @@ crate-type = ["cdylib"]
testutils = ["soroban-sdk/testutils"]

[dependencies]
soroban-sdk = "20.0.0-rc1"
soroban-sdk = "20.0.0-rc2"

[dev_dependencies]
soroban-sdk = { version = "20.0.0-rc1", features = ["testutils"] }
soroban-sdk = { version = "20.0.0-rc2", features = ["testutils"] }

[profile.release]
opt-level = "z"
Expand Down
10 changes: 5 additions & 5 deletions docs/getting-started/hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ The `soroban-sdk` is in early development. Report issues [here](https://github.c

```toml
[dependencies]
soroban-sdk = "20.0.0-rc1"
soroban-sdk = "20.0.0-rc2"

[dev_dependencies]
soroban-sdk = { version = "20.0.0-rc1", features = ["testutils"] }
soroban-sdk = { version = "20.0.0-rc2", features = ["testutils"] }

[features]
testutils = ["soroban-sdk/testutils"]
Expand Down Expand Up @@ -132,10 +132,10 @@ crate-type = ["cdylib"]
testutils = ["soroban-sdk/testutils"]

[dependencies]
soroban-sdk = "20.0.0-rc1"
soroban-sdk = "20.0.0-rc2"

[dev_dependencies]
soroban-sdk = { version = "20.0.0-rc1", features = ["testutils"] }
soroban-sdk = { version = "20.0.0-rc2", features = ["testutils"] }

[profile.release]
opt-level = "z"
Expand Down Expand Up @@ -373,7 +373,7 @@ and

Use `soroban contract optimize` to further minimize the size of the `.wasm`. First, re-install soroban-cli with the `opt` feature:

cargo install --locked --version 20.0.0-rc1 soroban-cli --features opt
cargo install --locked --version 20.0.0-rc2 soroban-cli --features opt

Then build an optimized `.wasm` file:

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ contract will execute on network, however in a local sandbox.
Install the Soroban CLI using `cargo install`.

```bash
cargo install --locked --version 20.0.0-rc1 soroban-cli
cargo install --locked --version 20.0.0-rc2 soroban-cli
```

:::info
Expand Down

0 comments on commit d505225

Please sign in to comment.