Skip to content

Commit

Permalink
chore: bump rust to 1.74.0 and update deps (#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e authored Dec 7, 2023
1 parent 4776611 commit 0151ccf
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
RUSTFLAGS: "-D warnings"
FUEL_CORE_VERSION: 0.21.0
FUEL_CORE_PATCH_BRANCH:
RUST_VERSION: 1.73.0
RUST_VERSION: 1.74.0
FORC_VERSION: 0.48.0
FORC_PATCH_BRANCH: ""
FORC_PATCH_REVISION: ""
Expand Down
44 changes: 22 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,41 +35,41 @@ homepage = "https://fuel.network/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/FuelLabs/fuels-rs"
rust-version = "1.73.0"
rust-version = "1.74.0"
version = "0.53.0"

[workspace.dependencies]
Inflector = "0.11.4"
async-trait = { version = "0.1.73", default-features = false }
async-trait = { version = "0.1.74", default-features = false }
bech32 = "0.9.1"
bytes = { version = "1.5.0", default-features = false }
chrono = "0.4.31"
elliptic-curve = { version = "0.13.6", default-features = false }
elliptic-curve = { version = "0.13.8", default-features = false }
eth-keystore = "0.5.0"
fuel-abi-types = "0.3.0"
futures = "0.3.28"
futures = "0.3.29"
hex = { version = "0.4.3", default-features = false }
itertools = "0.12.0"
portpicker = "0.1.1"
proc-macro2 = "1.0.66"
proc-macro2 = "1.0.70"
quote = "1.0.33"
rand = { version = "0.8.5", default-features = false, features = ["std_rng", "getrandom"] }
regex = "1.10.0"
regex = "1.10.2"
semver = "1.0.20"
serde = { version = "1.0.188", default-features = false }
serde_json = "1.0.107"
serde_with = { version = "3.3.0", default-features = false }
serde = { version = "1.0.193", default-features = false }
serde_json = "1.0.108"
serde_with = { version = "3.4.0", default-features = false }
sha2 = { version = "0.10.8", default-features = false }
syn = "2.0.38"
syn = "2.0.39"
tai64 = { version = "4.0.0", default-features = false }
tempfile = { version = "3.8.0", default-features = false }
thiserror = { version = "1.0.49", default-features = false }
tokio = { version = "1.33.0", default-features = false }
tracing = "0.1.37"
tempfile = { version = "3.8.1", default-features = false }
thiserror = { version = "1.0.50", default-features = false }
tokio = { version = "1.34.0", default-features = false }
tracing = "0.1.40"
trybuild = "1.0.85"
uint = { version = "0.9.5", default-features = false }
which = { version = "5.0.0", default-features = false }
zeroize = "1.6.0"
zeroize = "1.7.0"

# Dependencies from the `fuel-core` repository:
fuel-core = { version = "0.21.0", default-features = false }
Expand All @@ -80,13 +80,13 @@ fuel-core-services = { version = "0.21.0", default-features = false }
fuel-core-types = { version = "0.21.0", default-features = false }

# Dependencies from the `fuel-vm` repository:
fuel-asm = { version = "0.43.0"}
fuel-crypto = { version = "0.43.0"}
fuel-merkle = { version = "0.43.0"}
fuel-storage = { version = "0.43.0"}
fuel-tx = { version = "0.43.0"}
fuel-types = { version = "0.43.0"}
fuel-vm = { version = "0.43.0"}
fuel-asm = { version = "0.43.1" }
fuel-crypto = { version = "0.43.1" }
fuel-merkle = { version = "0.43.1" }
fuel-storage = { version = "0.43.1" }
fuel-tx = { version = "0.43.1" }
fuel-types = { version = "0.43.1" }
fuel-vm = { version = "0.43.1" }

# Workspace projects
fuels = { version = "0.53.0", path = "./packages/fuels" }
Expand Down
2 changes: 1 addition & 1 deletion examples/rust_bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ description = "Fuel Rust SDK examples for Rust-native bindings"

[dev-dependencies]
fuels = { workspace = true }
fuels-code-gen = { workspace = true }
fuels-macros = { workspace = true }
proc-macro2 = { workspace = true }
rand = { workspace = true }
tokio = { workspace = true, features = ["full"] }
fuels-code-gen = { workspace = true }
6 changes: 3 additions & 3 deletions packages/fuels-accounts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ async-trait = { workspace = true, default-features = false }
chrono = { workspace = true }
elliptic-curve = { workspace = true, default-features = false }
eth-keystore = { workspace = true, optional = true }
fuel-core-client = { workspace = true, optional = true }
fuel-crypto = { workspace = true, features = ["random"] }
fuel-tx = { workspace = true }
fuel-types = { workspace = true, features = ["random"] }
fuel-vm = { workspace = true }
fuel-core-client = { workspace = true, optional = true }
fuels-core = { workspace = true, default-features = false }
hex = { workspace = true, default-features = false, features = ["std"] }
rand = { workspace = true, default-features = false }
semver = { workspace = true }
tai64 = { workspace = true, features = ["serde"] }
thiserror = { workspace = true, default-features = false }
tokio = { workspace = true, features = ["full"], optional = true}
tokio = { workspace = true, features = ["full"], optional = true }
tracing = { workspace = true }
zeroize = { workspace = true, features = ["derive"] }

[dev-dependencies]
tempfile = { workspace = true }
tokio = { workspace = true, features = ["test-util"]}
tokio = { workspace = true, features = ["test-util"] }

[features]
default = ["std"]
Expand Down
3 changes: 1 addition & 2 deletions packages/fuels-code-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ serde_json = { workspace = true }
syn = { workspace = true }

[dev-dependencies]
pretty_assertions = "1.4"

pretty_assertions = "1.4.0"

[package.metadata.cargo-machete]
ignored = ["Inflector"]
2 changes: 1 addition & 1 deletion packages/fuels-programs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ serde_json = { workspace = true }
tokio = { workspace = true }

[dev-dependencies]
tempfile = "3.8"
tempfile = "3.8.1"

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels-test-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ description = "Fuel Rust SDK test helpers."
fuel-core = { workspace = true, default-features = false, optional = true }
fuel-core-chain-config = { workspace = true }
fuel-core-client = { workspace = true }
fuel-core-services = { workspace = true }
fuel-core-poa = { workspace = true }
fuel-core-services = { workspace = true }
fuel-tx = { workspace = true }
fuel-types = { workspace = true, features = ["random"] }
fuels-accounts = { workspace = true, optional = true }
Expand Down
4 changes: 2 additions & 2 deletions packages/wasm-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ crate-type = ['cdylib']
# that our examples don't inherit `fuels` with disabled features).
# Cargo wouldn't respect any attempts here to disable them again.
fuels = { path = "../fuels", default-features = false }
getrandom = { version = "0.2.10", features = ["js"] }
wasm-bindgen-test = "0.3.37"
getrandom = { version = "0.2.11", features = ["js"] }
wasm-bindgen-test = "0.3.39"
7 changes: 6 additions & 1 deletion scripts/check-docs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[package]
name = "check-docs"
version = "0.0.0"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
publish = false
repository = { workspace = true }
rust-version = { workspace = true }

[dependencies]
anyhow = "1.0.75"
Expand Down
17 changes: 8 additions & 9 deletions scripts/versions-replacer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
[package]
name = "versions-replacer"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
publish = false
authors.workspace = true
edition.workspace = true
homepage.workspace = true
readme.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true
repository = { workspace = true }
rust-version = { workspace = true }

[dependencies]
argh = "0.1.12"
cargo_metadata = "0.18.0"
cargo_metadata = "0.18.1"
color-eyre = "0.6.2"
once_cell = "1.18.0"
regex = { workspace = true }
Expand Down

0 comments on commit 0151ccf

Please sign in to comment.