Skip to content

Commit

Permalink
set rust-version in virtual workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Jan 9, 2024
1 parent 08b278b commit a671f2b
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 24 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion soroban-ledger-snapshot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion soroban-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion soroban-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"]

Expand Down
2 changes: 1 addition & 1 deletion soroban-spec-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion soroban-spec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion soroban-token-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion tests/add_i128/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/add_u128/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/add_u64/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/contract_data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version.workspace = true
authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.74"
rust-version.workspace = true
publish = false

[lib]
Expand Down
2 changes: 1 addition & 1 deletion tests/empty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/empty2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/events/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
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
Expand Down
2 changes: 1 addition & 1 deletion tests/import_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/invoke_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/logging/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/multiimpl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/udt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/workspace_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["cdylib"]
Expand Down
2 changes: 1 addition & 1 deletion tests/workspace_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
edition = "2021"
publish = false
rust-version = "1.74"
rust-version.workspace = true

[lib]
crate-type = ["rlib"]
Expand Down

0 comments on commit a671f2b

Please sign in to comment.