Skip to content

Commit

Permalink
Fix rust 2024 incompatibilities (#1294)
Browse files Browse the repository at this point in the history
### What
Change dev_dependencies and build_dependencies into their hyphen
separated versions.

### Why
Rust edition 2024 that'll be released in October 2024 won't support the
underscore variant any longer.
  • Loading branch information
leighmcculloch authored Jul 15, 2024
1 parent 40824b9 commit 0c4c42b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion soroban-ledger-snapshot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ serde_with = { version = "3.4.0", features = ["hex"] }
serde_json = "1.0.0"
thiserror = "1.0"

[dev_dependencies]
[dev-dependencies]
pretty_assertions = "1.2.1"
2 changes: 1 addition & 1 deletion soroban-sdk-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rust-version.workspace = true
proc-macro = true
doctest = false

[build_dependencies]
[build-dependencies]
rustc_version = "0.4.0"
crate-git-revision = "0.0.6"

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 @@ -20,5 +20,5 @@ proc-macro2 = "1.0"
sha2 = "0.10.7"
prettyplease = "0.2.4"

[dev_dependencies]
[dev-dependencies]
pretty_assertions = "1.2.1"
2 changes: 1 addition & 1 deletion soroban-spec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ base64 = "0.13.0"
thiserror = "1.0.32"
wasmparser = "0.116.1"

[dev_dependencies]
[dev-dependencies]
pretty_assertions = "1.2.1"

0 comments on commit 0c4c42b

Please sign in to comment.