diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b15e9a5f4..0213f5e6d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -136,7 +136,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: stellar/actions/rust-cache@main - - run: rustup install nightly + - run: rustup install nightly-2024-02-03 - uses: stellar/binaries@v15 with: name: cargo-fuzz @@ -148,7 +148,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: stellar/actions/rust-cache@main - - run: rustup install nightly + # TODO: Upgrade to latest nightly after problem that was introduced in nightly-2024-02-05 (https://github.com/dalek-cryptography/curve25519-dalek/issues/618) is resolved. + - run: rustup install nightly-2024-02-03 - run: make doc readme: @@ -156,7 +157,7 @@ jobs: steps: - uses: actions/checkout@v3 - uses: stellar/actions/rust-cache@main - - run: rustup install nightly + - run: rustup install nightly-2024-02-03 - run: make readme - run: git add -N . && git diff HEAD --exit-code diff --git a/Cargo.lock b/Cargo.lock index 652b1138b..581258e14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1172,7 +1172,7 @@ dependencies = [ [[package]] name = "soroban-ledger-snapshot" -version = "20.3.0" +version = "20.3.1" dependencies = [ "pretty_assertions", "serde", @@ -1185,7 +1185,7 @@ dependencies = [ [[package]] name = "soroban-sdk" -version = "20.3.0" +version = "20.3.1" dependencies = [ "arbitrary", "bytes-lit", @@ -1208,7 +1208,7 @@ dependencies = [ [[package]] name = "soroban-sdk-macros" -version = "20.3.0" +version = "20.3.1" dependencies = [ "crate-git-revision", "darling", @@ -1226,7 +1226,7 @@ dependencies = [ [[package]] name = "soroban-spec" -version = "20.3.0" +version = "20.3.1" dependencies = [ "base64 0.13.1", "pretty_assertions", @@ -1237,7 +1237,7 @@ dependencies = [ [[package]] name = "soroban-spec-rust" -version = "20.3.0" +version = "20.3.1" dependencies = [ "pretty_assertions", "prettyplease", @@ -1252,7 +1252,7 @@ dependencies = [ [[package]] name = "soroban-token-sdk" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] @@ -1356,119 +1356,119 @@ dependencies = [ [[package]] name = "test_add_i128" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_add_u128" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_add_u64" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_alloc" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_auth" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_contract_data" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_empty" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_empty2" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_errors" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_events" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_fuzz" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_import_contract" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_invoke_contract" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_logging" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_multiimpl" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_udt" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] [[package]] name = "test_workspace_contract" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", "test_workspace_lib", @@ -1476,7 +1476,7 @@ dependencies = [ [[package]] name = "test_workspace_lib" -version = "20.3.0" +version = "20.3.1" dependencies = [ "soroban-sdk", ] diff --git a/Cargo.toml b/Cargo.toml index fee4de45f..4d0f06b42 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,16 +29,16 @@ members = [ ] [workspace.package] -version = "20.3.0" +version = "20.3.1" rust-version = "1.74.0" [workspace.dependencies] -soroban-sdk = { version = "20.3.0", path = "soroban-sdk" } -soroban-sdk-macros = { version = "20.3.0", path = "soroban-sdk-macros" } -soroban-spec = { version = "20.3.0", path = "soroban-spec" } -soroban-spec-rust = { version = "20.3.0", path = "soroban-spec-rust" } -soroban-ledger-snapshot = { version = "20.3.0", path = "soroban-ledger-snapshot" } -soroban-token-sdk = { version = "20.3.0", path = "soroban-token-sdk" } +soroban-sdk = { version = "20.3.1", path = "soroban-sdk" } +soroban-sdk-macros = { version = "20.3.1", path = "soroban-sdk-macros" } +soroban-spec = { version = "20.3.1", path = "soroban-spec" } +soroban-spec-rust = { version = "20.3.1", path = "soroban-spec-rust" } +soroban-ledger-snapshot = { version = "20.3.1", path = "soroban-ledger-snapshot" } +soroban-token-sdk = { version = "20.3.1", path = "soroban-token-sdk" } [workspace.dependencies.soroban-env-common] version = "=20.2.1" diff --git a/Makefile b/Makefile index 3cbc1d8e6..ac75becc0 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,8 @@ CARGO_DOC_ARGS?=--open doc: fmt cargo test --doc -p soroban-sdk -p soroban-sdk-macros --features testutils - cargo +nightly doc -p soroban-sdk --no-deps --features docs,testutils $(CARGO_DOC_ARGS) + # TODO: Upgrade to latest nightly after problem that was introduced in nightly-2024-02-05 (https://github.com/dalek-cryptography/curve25519-dalek/issues/618) is resolved. + cargo +nightly-2024-02-03 doc -p soroban-sdk --no-deps --features docs,testutils $(CARGO_DOC_ARGS) test: fmt build cargo hack --feature-powerset --ignore-unknown-features --features testutils --exclude-features docs test @@ -23,11 +24,11 @@ check: build fmt cargo hack check --release --target wasm32-unknown-unknown build-fuzz: - cd tests/fuzz/fuzz && cargo +nightly fuzz check + cd tests/fuzz/fuzz && cargo +nightly-2024-02-03 fuzz check readme: cd soroban-sdk \ - && cargo +nightly rustdoc -- -Zunstable-options -wjson \ + && cargo +nightly-2024-02-03 rustdoc -- -Zunstable-options -wjson \ && cat ../target/doc/soroban_sdk.json \ | jq -r '.index[.root].docs' \ > README.md @@ -36,7 +37,7 @@ watch: cargo watch --clear --watch-when-idle --shell '$(MAKE)' watch-doc: - cargo +nightly watch --clear --watch-when-idle --shell '$(MAKE) doc CARGO_DOC_ARGS=' + cargo +nightly-2024-02-03 watch --clear --watch-when-idle --shell '$(MAKE) doc CARGO_DOC_ARGS=' fmt: cargo fmt --all