Skip to content

Commit 6e88d78

Browse files
authored
Merge pull request #1420 from input-output-hk/damien/upgrade-dependencies-2024-01-02
Rust version 1.75.0: fix cargo clippy warning & update dependencies
2 parents a06c2e0 + 3fb82e0 commit 6e88d78

File tree

22 files changed

+544
-509
lines changed

22 files changed

+544
-509
lines changed

Cargo.lock

Lines changed: 169 additions & 170 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/protocol-demo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithrildemo"
3-
version = "0.1.25"
3+
version = "0.1.26"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
documentation = { workspace = true }

docs/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mithril-doc",
3-
"version": "0.1.30",
3+
"version": "0.1.31",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",
@@ -35,4 +35,4 @@
3535
"last 1 safari version"
3636
]
3737
}
38-
}
38+
}

docs/website/yarn.lock

Lines changed: 202 additions & 183 deletions
Large diffs are not rendered by default.

examples/client-mithril-stake-distribution/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "client-mithril-stake-distribution"
33
description = "Mithril client stake distribution example"
4-
version = "0.1.3"
4+
version = "0.1.4"
55
66
documentation = "https://mithril.network/doc"
77
edition = "2021"

examples/client-snapshot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "client-snapshot"
33
description = "Mithril client snapshot example"
4-
version = "0.1.3"
4+
version = "0.1.4"
55
66
documentation = "https://mithril.network/doc"
77
edition = "2021"

flake.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mithril-aggregator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithril-aggregator"
3-
version = "0.4.22"
3+
version = "0.4.23"
44
description = "A Mithril Aggregator server"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-aggregator/src/database/provider/signer_registration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ impl<'conn> InsertOrReplaceSignerRegistrationRecordProvider<'conn> {
292292
.unwrap_or(Value::Null),
293293
signer_registration_record
294294
.kes_period
295-
.map(|k| Value::Integer(i64::try_from(k).unwrap()))
295+
.map(|k| Value::Integer(i64::from(k)))
296296
.unwrap_or(Value::Null),
297297
signer_registration_record
298298
.stake

mithril-aggregator/src/message_adapters/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ pub use from_register_signature::FromRegisterSingleSignatureAdapter;
1111
pub use from_register_signer::FromRegisterSignerAdapter;
1212
pub use to_certificate_pending_message::ToCertificatePendingMessageAdapter;
1313
pub use to_epoch_settings_message::ToEpochSettingsMessageAdapter;
14+
#[cfg(test)]
1415
pub use to_mithril_stake_distribution_list_message::ToMithrilStakeDistributionListMessageAdapter;
16+
#[cfg(test)]
1517
pub use to_mithril_stake_distribution_message::ToMithrilStakeDistributionMessageAdapter;
18+
#[cfg(test)]
1619
pub use to_snapshot_list_message::ToSnapshotListMessageAdapter;
20+
#[cfg(test)]
1721
pub use to_snapshot_message::ToSnapshotMessageAdapter;

0 commit comments

Comments
 (0)