From a671f2b114f73db171f5be0d2737dc73a06eebd7 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:45:57 +1000 Subject: [PATCH] set rust-version in virtual workspace --- Cargo.toml | 1 + soroban-ledger-snapshot/Cargo.toml | 2 +- soroban-sdk-macros/Cargo.toml | 2 +- soroban-sdk/Cargo.toml | 2 +- soroban-spec-rust/Cargo.toml | 2 +- soroban-spec/Cargo.toml | 2 +- soroban-token-sdk/Cargo.toml | 2 +- tests/add_i128/Cargo.toml | 2 +- tests/add_u128/Cargo.toml | 2 +- tests/add_u64/Cargo.toml | 2 +- tests/alloc/Cargo.toml | 2 +- tests/auth/Cargo.toml | 2 +- tests/contract_data/Cargo.toml | 2 +- tests/empty/Cargo.toml | 2 +- tests/empty2/Cargo.toml | 2 +- tests/errors/Cargo.toml | 2 +- tests/events/Cargo.toml | 2 +- tests/fuzz/Cargo.toml | 2 +- tests/import_contract/Cargo.toml | 2 +- tests/invoke_contract/Cargo.toml | 2 +- tests/logging/Cargo.toml | 2 +- tests/multiimpl/Cargo.toml | 2 +- tests/udt/Cargo.toml | 2 +- tests/workspace_contract/Cargo.toml | 2 +- tests/workspace_lib/Cargo.toml | 2 +- 25 files changed, 25 insertions(+), 24 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3d880d287..8939e667b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,6 +30,7 @@ members = [ [workspace.package] version = "20.1.0" +rust-version = "1.74.0" [workspace.dependencies] soroban-sdk = { version = "20.1.0", path = "soroban-sdk" } diff --git a/soroban-ledger-snapshot/Cargo.toml b/soroban-ledger-snapshot/Cargo.toml index c17a3c80b..514ecef69 100644 --- a/soroban-ledger-snapshot/Cargo.toml +++ b/soroban-ledger-snapshot/Cargo.toml @@ -8,7 +8,7 @@ readme = "../README.md" license = "Apache-2.0" version.workspace = true edition = "2021" -rust-version = "1.74" +rust-version.workspace = true [dependencies] soroban-env-host = { workspace = true } diff --git a/soroban-sdk-macros/Cargo.toml b/soroban-sdk-macros/Cargo.toml index 67d905dd5..c52205e91 100644 --- a/soroban-sdk-macros/Cargo.toml +++ b/soroban-sdk-macros/Cargo.toml @@ -8,7 +8,7 @@ readme = "../README.md" license = "Apache-2.0" version.workspace = true edition = "2021" -rust-version = "1.74" +rust-version.workspace = true [lib] proc-macro = true diff --git a/soroban-sdk/Cargo.toml b/soroban-sdk/Cargo.toml index a3f894055..987a66d41 100644 --- a/soroban-sdk/Cargo.toml +++ b/soroban-sdk/Cargo.toml @@ -8,7 +8,7 @@ readme = "README.md" license = "Apache-2.0" version.workspace = true edition = "2021" -rust-version = "1.74" +rust-version.workspace = true exclude = ["test_snapshots/", "src/tests/"] diff --git a/soroban-spec-rust/Cargo.toml b/soroban-spec-rust/Cargo.toml index 4a040d56c..0d367f25d 100644 --- a/soroban-spec-rust/Cargo.toml +++ b/soroban-spec-rust/Cargo.toml @@ -8,7 +8,7 @@ readme = "../README.md" license = "Apache-2.0" version.workspace = true edition = "2021" -rust-version = "1.74" +rust-version.workspace = true [dependencies] stellar-xdr = { workspace = true, features = ["curr", "std", "serde"] } diff --git a/soroban-spec/Cargo.toml b/soroban-spec/Cargo.toml index e3dcacd93..cea41cec1 100644 --- a/soroban-spec/Cargo.toml +++ b/soroban-spec/Cargo.toml @@ -8,7 +8,7 @@ readme = "../README.md" license = "Apache-2.0" version.workspace = true edition = "2021" -rust-version = "1.74" +rust-version.workspace = true [dependencies] stellar-xdr = { workspace = true, features = ["curr", "std", "serde"] } diff --git a/soroban-token-sdk/Cargo.toml b/soroban-token-sdk/Cargo.toml index ccb9294d1..ede024b14 100644 --- a/soroban-token-sdk/Cargo.toml +++ b/soroban-token-sdk/Cargo.toml @@ -8,7 +8,7 @@ readme = "../README.md" license = "Apache-2.0" version.workspace = true edition = "2021" -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib", "rlib"] diff --git a/tests/add_i128/Cargo.toml b/tests/add_i128/Cargo.toml index 9f80c4470..87476bee7 100644 --- a/tests/add_i128/Cargo.toml +++ b/tests/add_i128/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/add_u128/Cargo.toml b/tests/add_u128/Cargo.toml index bedb2afa7..0015ef8f3 100644 --- a/tests/add_u128/Cargo.toml +++ b/tests/add_u128/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/add_u64/Cargo.toml b/tests/add_u64/Cargo.toml index 7865c5763..7e8f6f30f 100644 --- a/tests/add_u64/Cargo.toml +++ b/tests/add_u64/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/alloc/Cargo.toml b/tests/alloc/Cargo.toml index 435f138e4..e25629fe6 100644 --- a/tests/alloc/Cargo.toml +++ b/tests/alloc/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/auth/Cargo.toml b/tests/auth/Cargo.toml index 9a8387499..9b8b29272 100644 --- a/tests/auth/Cargo.toml +++ b/tests/auth/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/contract_data/Cargo.toml b/tests/contract_data/Cargo.toml index 8ce1e4199..ea1f51e5f 100644 --- a/tests/contract_data/Cargo.toml +++ b/tests/contract_data/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" -rust-version = "1.74" +rust-version.workspace = true publish = false [lib] diff --git a/tests/empty/Cargo.toml b/tests/empty/Cargo.toml index 981376e95..27375d1c3 100644 --- a/tests/empty/Cargo.toml +++ b/tests/empty/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/empty2/Cargo.toml b/tests/empty2/Cargo.toml index b8742b5e1..b106fbf12 100644 --- a/tests/empty2/Cargo.toml +++ b/tests/empty2/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/errors/Cargo.toml b/tests/errors/Cargo.toml index 63aac045c..26c360d35 100644 --- a/tests/errors/Cargo.toml +++ b/tests/errors/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/events/Cargo.toml b/tests/events/Cargo.toml index 2b7428e9d..a3da0215a 100644 --- a/tests/events/Cargo.toml +++ b/tests/events/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/fuzz/Cargo.toml b/tests/fuzz/Cargo.toml index 1f8bee461..bf7b00090 100644 --- a/tests/fuzz/Cargo.toml +++ b/tests/fuzz/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] # Adding rlib is required so that the test_fuzz crate can be imported as a diff --git a/tests/import_contract/Cargo.toml b/tests/import_contract/Cargo.toml index 3d4d7d661..8186c680c 100644 --- a/tests/import_contract/Cargo.toml +++ b/tests/import_contract/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/invoke_contract/Cargo.toml b/tests/invoke_contract/Cargo.toml index 7b9185bb3..33e45c116 100644 --- a/tests/invoke_contract/Cargo.toml +++ b/tests/invoke_contract/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/logging/Cargo.toml b/tests/logging/Cargo.toml index 93f622f9d..6f3c2a6ff 100644 --- a/tests/logging/Cargo.toml +++ b/tests/logging/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/multiimpl/Cargo.toml b/tests/multiimpl/Cargo.toml index 0b9da946c..1fb6c54fb 100644 --- a/tests/multiimpl/Cargo.toml +++ b/tests/multiimpl/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/udt/Cargo.toml b/tests/udt/Cargo.toml index 17bae6881..58522f1e0 100644 --- a/tests/udt/Cargo.toml +++ b/tests/udt/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/workspace_contract/Cargo.toml b/tests/workspace_contract/Cargo.toml index c1572b8c5..d9cbd13bb 100644 --- a/tests/workspace_contract/Cargo.toml +++ b/tests/workspace_contract/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["cdylib"] diff --git a/tests/workspace_lib/Cargo.toml b/tests/workspace_lib/Cargo.toml index 9a4f753d9..03f0fc7f1 100644 --- a/tests/workspace_lib/Cargo.toml +++ b/tests/workspace_lib/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation "] license = "Apache-2.0" edition = "2021" publish = false -rust-version = "1.74" +rust-version.workspace = true [lib] crate-type = ["rlib"]