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 = []