From 5da789c50b18a4c2be53394138212fed56f0dfc4 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:14:15 +1000 Subject: [PATCH] Limit the versions of arbitrary/derive_arbitrary to 1.3.* --- Cargo.lock | 1 + soroban-sdk/Cargo.toml | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 55e3bfc0..0b564549 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1213,6 +1213,7 @@ dependencies = [ "bytes-lit", "ctor", "curve25519-dalek", + "derive_arbitrary", "ed25519-dalek", "hex", "proptest", diff --git a/soroban-sdk/Cargo.toml b/soroban-sdk/Cargo.toml index 5d7472bc..6f74114c 100644 --- a/soroban-sdk/Cargo.toml +++ b/soroban-sdk/Cargo.toml @@ -29,7 +29,8 @@ soroban-env-guest = { workspace = true } soroban-env-host = { workspace = true, features = [] } soroban-ledger-snapshot = { workspace = true } stellar-strkey = { workspace = true } -arbitrary = { version = "1.3.0", features = ["derive"], optional = true } +arbitrary = { version = "~1.3.0", features = ["derive"], optional = true } +derive_arbitrary = { version = "~1.3.0", optional = true } serde = { version = "1.0.0", features = ["derive"] } serde_json = "1.0.0" ed25519-dalek = { version = "2.1.1", features = ["rand_core"], optional = true } @@ -47,13 +48,14 @@ ed25519-dalek = "2.0.0" rand = "0.8.5" ctor = "0.2.1" hex = "0.4.3" -arbitrary = { version = "1.3.0", features = ["derive"] } +arbitrary = { version = "~1.3.0", features = ["derive"] } +derive_arbitrary = { version = "~1.3.0" } proptest = "1.2.0" proptest-arbitrary-interop = "0.1.0" [features] alloc = [] -testutils = ["soroban-sdk-macros/testutils", "soroban-env-host/testutils", "dep:ed25519-dalek", "dep:arbitrary", "dep:ctor"] +testutils = ["soroban-sdk-macros/testutils", "soroban-env-host/testutils", "dep:ed25519-dalek", "dep:arbitrary", "dep:derive_arbitrary", "dep:ctor"] hazmat = [] docs = []