Skip to content

Commit

Permalink
chore: switch to rust edition 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
Riateche committed Oct 30, 2024
1 parent c720bf1 commit 28aff03
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion governance/remote_executor/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "remote-executor-cli"
version = "0.1.0"
edition = "2018"
edition = "2021"

[dependencies]
clap = {version ="3.2.22", features = ["derive"]}
Expand Down
2 changes: 1 addition & 1 deletion pythnet/stake_caps_parameters/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "remote-executor-cli"
version = "0.1.0"
edition = "2018"
edition = "2021"

[dependencies]
clap = {version ="3.2.22", features = ["derive"]}
Expand Down
2 changes: 1 addition & 1 deletion target_chains/cosmwasm/contracts/pyth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pyth-cosmwasm"
version = "1.3.0"
authors = ["Wormhole Contributors <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Pyth price receiver"

[lib]
Expand Down
4 changes: 3 additions & 1 deletion target_chains/cosmwasm/examples/cw-contract/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion target_chains/cosmwasm/examples/cw-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "example-cw-contract"
version = "0.1.0"
authors = ["Pyth Data Foundation"]
edition = "2018"
edition = "2021"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
Expand Down
2 changes: 1 addition & 1 deletion target_chains/cosmwasm/sdk/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pyth-sdk-cw"
version = "1.2.1"
authors = ["Pyth Data Foundation"]
edition = "2018"
edition = "2021"
license = "Apache-2.0"
homepage = "https://pyth.network"
repository = "https://github.com/pyth-network/pyth-crosschain"
Expand Down
5 changes: 0 additions & 5 deletions wormhole_attester/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions wormhole_attester/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[workspace]
members = ["sdk/rust"]

[patch.crates-io]
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
2 changes: 1 addition & 1 deletion wormhole_attester/sdk/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pyth-wormhole-attester-sdk"
version = "0.1.2"
authors = ["Wormhole Contributors <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Pyth to Wormhole SDK"

[lib]
Expand Down

0 comments on commit 28aff03

Please sign in to comment.