Skip to content

Commit 046a4f8

Browse files
authored
Merge pull request #2737 from input-output-hk/djo/fix/client-lib/missing-reexport
feat(client lib): add missing `Dummy` re-export
2 parents 69e39ed + 7ca4c89 commit 046a4f8

File tree

7 files changed

+16
-9
lines changed

7 files changed

+16
-9
lines changed

Cargo.lock

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

mithril-client-cli/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-client-cli"
3-
version = "0.12.31"
3+
version = "0.12.32"
44
description = "A Mithril Client"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-client-cli/src/commands/cardano_db/download/v1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ impl PreparedCardanoDbV1Download {
234234
mod tests {
235235
use mithril_client::{
236236
MithrilCertificateMetadata,
237-
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType},
237+
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType, test::Dummy},
238238
};
239-
use mithril_common::test::{TempDir, double::Dummy};
239+
use mithril_common::test::TempDir;
240240

241241
use super::*;
242242

mithril-client-cli/src/commands/cardano_db/download/v2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ impl PreparedCardanoDbV2Download {
307307

308308
#[cfg(test)]
309309
mod tests {
310+
use mithril_client::common::test::Dummy;
310311
use mithril_client::common::{AncillaryMessagePart, DigestsMessagePart, ImmutablesMessagePart};
311-
use mithril_common::test::double::Dummy;
312312

313313
use super::*;
314314

mithril-client-cli/src/commands/cardano_db/shared_steps.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ pub fn log_download_information(
240240
mod tests {
241241
use mithril_client::{
242242
MithrilCertificateMetadata,
243-
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType},
243+
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType, test::Dummy},
244244
};
245-
use mithril_common::test::{TempDir, double::Dummy};
245+
use mithril_common::test::TempDir;
246246

247247
use crate::utils::ProgressOutputType;
248248

mithril-client/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-client"
3-
version = "0.12.31"
3+
version = "0.12.32"
44
description = "Mithril client library"
55
authors = { workspace = true }
66
edition = { workspace = true }

mithril-client/src/type_alias.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,11 @@ pub mod common {
7777
pub use mithril_common::messages::{
7878
AncillaryMessagePart, DigestsMessagePart, ImmutablesMessagePart,
7979
};
80+
81+
/// Test utilities.
82+
///
83+
/// ⚠ Do not use in production code ⚠
84+
pub mod test {
85+
pub use mithril_common::test::double::Dummy;
86+
}
8087
}

0 commit comments

Comments
 (0)