Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[workspace]
resolver = "2"
members = [
"contracts/error_codes",
"contracts/math",
"contracts/staking_rewards",
"contracts/*",
]

[workspace.dependencies]
soroban-sdk = "22.0.0"
4 changes: 2 additions & 2 deletions contracts/auction_factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ publish = false
crate-type = ["rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true
emergency_guard = { path = "../emergency_guard", default-features = false }

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
emergency_guard = { path = "../emergency_guard", default-features = false }

[features]
Expand Down
4 changes: 2 additions & 2 deletions contracts/batch_transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ publish = false
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
token-contract = { package = "soroban-token-contract", path = "../token" }
4 changes: 2 additions & 2 deletions contracts/cdp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/concentrated_amm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
testutils = ["soroban-sdk/testutils"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/cpu_heavy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/cross_call/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
3 changes: 1 addition & 2 deletions contracts/cross_chain_payload/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = { version = "20.5.0", features = ["testutils"] }
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/cross_chain_verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
2 changes: 1 addition & 1 deletion contracts/crucible-example-gasless/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

4 changes: 2 additions & 2 deletions contracts/did_registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/dutch_auction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ publish = false
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
token-contract = { package = "soroban-token-contract", path = "../token" }

[features]
Expand Down
4 changes: 2 additions & 2 deletions contracts/emergency_guard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
crate-type = ["rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }

[features]
default = ["contract"]
Expand Down
4 changes: 2 additions & 2 deletions contracts/english_auction/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ publish = false
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
token-contract = { package = "soroban-token-contract", path = "../token" }

[features]
Expand Down
4 changes: 2 additions & 2 deletions contracts/error_codes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
emergency_guard = { path = "../emergency_guard", default-features = false }
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
emergency_guard = { path = "../emergency_guard" }

# We need the pool contract code for integration tests
Expand Down
4 changes: 2 additions & 2 deletions contracts/flash_loan_vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true
emergency_guard = { path = "../emergency_guard" }

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/governance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
emergency_guard = { path = "../emergency_guard" }
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
emergency_guard = { path = "../emergency_guard" }
4 changes: 2 additions & 2 deletions contracts/hello_soroban/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }


4 changes: 2 additions & 2 deletions contracts/hybrid_amm_lob/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/liquidity_pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true
emergency_guard = { path = "../emergency_guard", default-features = false }

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
emergency_guard = { path = "../emergency_guard" }
proptest = "1.0"
4 changes: 2 additions & 2 deletions contracts/math/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true
soroscope-error-codes = { path = "../error_codes" }

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/multi_yield_vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/oracle_aggregator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/private_transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
crate-type = ["cdylib", "rlib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
2 changes: 1 addition & 1 deletion contracts/proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021"

[dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/soulbound_token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/staking_rewards/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true
soroscope-math = { path = "../math" }
soroscope-error-codes = { path = "../error_codes" }
emergency_guard = { path = "../emergency_guard" }

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/storage_heavy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/timelocked_escrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
emergency_guard = { path = "../emergency_guard", default-features = false }
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
emergency_guard = { path = "../emergency_guard", default-features = false, features = ["contract"] }
4 changes: 2 additions & 2 deletions contracts/twap_oracle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
4 changes: 2 additions & 2 deletions contracts/typed_data_auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
soroban-sdk = "22.0.0"
soroban-sdk.workspace = true

[dev-dependencies]
soroban-sdk = { version = "22.0.0", features = ["testutils"] }
soroban-sdk = { workspace = true, features = ["testutils"] }
Loading