diff --git a/Cargo.toml b/Cargo.toml index 03204ee..476f06f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,11 @@ [workspace] members = ["apexchainx_calculator"] resolver = "2" + +[workspace.package] +edition = "2021" +license = "MIT" +repository = "https://github.com/ApexChainx/ApexChainx-Contracts" + +[workspace.dependencies] +soroban-sdk = "21.1.0" diff --git a/apexchainx_calculator/Cargo.toml b/apexchainx_calculator/Cargo.toml index d093845..59783ad 100644 --- a/apexchainx_calculator/Cargo.toml +++ b/apexchainx_calculator/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "apexchainx_calculator" version = "0.1.0" -edition = "2021" +edition.workspace = true description = "Soroban SLA calculator contract for the ApexChainx system" -license = "MIT" -repository = "https://github.com/ApexChainx/ApexChainx-Contracts" +license.workspace = true +repository.workspace = true publish = false [lib] @@ -14,7 +14,7 @@ crate-type = ["cdylib"] default = [] [dependencies] -soroban-sdk = { version = "21.1.0", features = ["alloc"] } +soroban-sdk = { workspace = true, features = ["alloc"] } [dev-dependencies] -soroban-sdk = { version = "21.1.0", features = ["testutils", "alloc"] } +soroban-sdk = { workspace = true, features = ["testutils", "alloc"] }