Skip to content

Commit f8d31a9

Browse files
authored
fix compilation for Rust >= 1.79 (#2256)
* fix compilation for Rust >= 1.79 * Update dependencies
1 parent 4858b95 commit f8d31a9

File tree

6 files changed

+42
-77
lines changed

6 files changed

+42
-77
lines changed

Cargo.lock

+34-69
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/nodejs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@types/node": "^18.15.12",
3636
"@typescript-eslint/eslint-plugin": "^5.30.7",
3737
"@typescript-eslint/parser": "^5.30.7",
38-
"cargo-cp-artifact": "^0.1.6",
38+
"cargo-cp-artifact": "^0.1.9",
3939
"dotenv": "^16.0.3",
4040
"electron-build-env": "^0.2.0",
4141
"eslint": "^8.20.0",

bindings/nodejs/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -1455,10 +1455,10 @@ caniuse-lite@^1.0.30001580:
14551455
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001585.tgz#0b4e848d84919c783b2a41c13f7de8ce96744401"
14561456
integrity sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==
14571457

1458-
cargo-cp-artifact@^0.1.6:
1459-
version "0.1.8"
1460-
resolved "https://registry.yarnpkg.com/cargo-cp-artifact/-/cargo-cp-artifact-0.1.8.tgz#353814f49f6aa76601a4bcb3ea5f3071180b90de"
1461-
integrity sha512-3j4DaoTrsCD1MRkTF2Soacii0Nx7UHCce0EwUf4fHnggwiE4fbmF2AbnfzayR36DF8KGadfh7M/Yfy625kgPlA==
1458+
cargo-cp-artifact@^0.1.9:
1459+
version "0.1.9"
1460+
resolved "https://registry.yarnpkg.com/cargo-cp-artifact/-/cargo-cp-artifact-0.1.9.tgz#32264a0a48109e26c48da334daff9a1da9d9b7c8"
1461+
integrity sha512-6F+UYzTaGB+awsTXg0uSJA1/b/B3DDJzpKVRu0UmyI7DmNeaAl2RFHuTGIN6fEgpadRxoXGb7gbC1xo4C3IdyA==
14621462

14631463
caseless@~0.12.0:
14641464
version "0.12.0"

sdk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ hashbrown = { version = "0.14.3", default-features = false, features = [
3434
"inline-more",
3535
] }
3636
hex = { version = "0.4.3", default-features = false }
37-
iota-crypto = { version = "0.23.1", default-features = false, features = [
37+
iota-crypto = { version = "0.23.2", default-features = false, features = [
3838
"blake2b",
3939
"ed25519",
4040
"secp256k1",

sdk/src/client/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//! .await?;
1717
//!
1818
//! let block = client
19-
//! .block()
19+
//! .build_block()
2020
//! .finish()
2121
//! .await?;
2222
//!

sdk/src/types/block/protocol.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl ProtocolParameters {
125125
}
126126

127127
/// Returns a [`ProtocolParameters`] for testing purposes.
128-
#[cfg(any(feature = "test", feature = "rand"))]
128+
#[cfg(any(test, feature = "rand"))]
129129
pub fn protocol_parameters() -> ProtocolParameters {
130130
ProtocolParameters::new(
131131
2,

0 commit comments

Comments
 (0)