From 9f47dc8f96244697c056e2f8c047d0d977ed3a9c Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Fri, 25 Jul 2025 15:05:18 +0200 Subject: [PATCH 1/4] refactor: remove `test_tools` and `full` features from `mithril-common` This limit the available features of `mithril-common` to a minimum, making it easier for rust compiler to reuse build artifacts. --- flake.nix | 2 +- .../mithril-cardano-node-chain/Cargo.toml | 1 - .../Cargo.toml | 1 - internal/mithril-aggregator-client/Cargo.toml | 1 - internal/mithril-dmq/Cargo.toml | 1 - internal/mithril-era/Cargo.toml | 1 - internal/mithril-metric/Cargo.toml | 1 - internal/mithril-persistence/Cargo.toml | 1 - internal/mithril-resource-pool/Cargo.toml | 1 - .../Cargo.toml | 1 - internal/tests/mithril-api-spec/Cargo.toml | 2 +- mithril-aggregator/Cargo.toml | 7 ++----- mithril-client-cli/Cargo.toml | 2 +- mithril-client/Cargo.toml | 3 --- mithril-common/Cargo.toml | 5 ----- mithril-common/Makefile | 21 ------------------- mithril-common/src/api_version.rs | 1 - .../cardano/key_certification.rs | 1 - mithril-common/src/entities/block_range.rs | 1 - mithril-common/src/lib.rs | 2 -- mithril-relay/Cargo.toml | 2 +- mithril-signer/Cargo.toml | 3 +-- .../mithril-end-to-end/Cargo.toml | 2 +- 23 files changed, 8 insertions(+), 55 deletions(-) diff --git a/flake.nix b/flake.nix index afa3edfb065..73618eea2ba 100644 --- a/flake.nix +++ b/flake.nix @@ -100,7 +100,7 @@ // args); mithril-stm = buildPackage ./mithril-stm/Cargo.toml null {}; - mithril-common = buildPackage ./mithril-common/Cargo.toml mithril-stm.cargoArtifacts { cargoExtraArgs = "-p mithril-common --features full"; }; + mithril-common = buildPackage ./mithril-common/Cargo.toml mithril-stm.cargoArtifacts { cargoExtraArgs = "-p mithril-common"; }; mithril = buildPackage null mithril-common.cargoArtifacts { doCheck = false; }; diff --git a/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml b/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml index 70d4eeae3ac..19573fc6824 100644 --- a/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml +++ b/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml @@ -35,7 +35,6 @@ kes-summed-ed25519 = { version = "0.2.1", features = [ "serde_enabled", "sk_clone_enabled", ] } -mithril-common = { path = "../../../mithril-common", features = ["test_tools"] } mockall = { workspace = true } pallas-crypto = "0.33.0" slog-async = { workspace = true } diff --git a/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml b/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml index 265181a7f9f..6d76286f8c0 100644 --- a/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml +++ b/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml @@ -29,7 +29,6 @@ walkdir = "2.5.0" [dev-dependencies] criterion = { version = "0.6.0", features = ["html_reports", "async_tokio"] } -mithril-common = { path = "../../../mithril-common", version = ">=0.5", features = ["test_tools"] } mockall = { workspace = true } slog-async = { workspace = true } slog-term = { workspace = true } diff --git a/internal/mithril-aggregator-client/Cargo.toml b/internal/mithril-aggregator-client/Cargo.toml index 437c9ca7e6c..c9b1e90dda3 100644 --- a/internal/mithril-aggregator-client/Cargo.toml +++ b/internal/mithril-aggregator-client/Cargo.toml @@ -28,7 +28,6 @@ tokio = { workspace = true } [dev-dependencies] http = "1.3.1" httpmock = "0.7.0" -mithril-common = { path = "../../mithril-common", version = ">=0.5", features = ["test_tools"] } mockall = { workspace = true } slog-async = { workspace = true } slog-term = { workspace = true } diff --git a/internal/mithril-dmq/Cargo.toml b/internal/mithril-dmq/Cargo.toml index 157391a2fe1..f5dde68fec0 100644 --- a/internal/mithril-dmq/Cargo.toml +++ b/internal/mithril-dmq/Cargo.toml @@ -24,7 +24,6 @@ slog = { workspace = true } tokio = { workspace = true, features = ["sync"] } [dev-dependencies] -mithril-common = { path = "../../mithril-common", features = ["test_tools"] } mockall = { workspace = true } slog-async = { workspace = true } slog-term = { workspace = true } diff --git a/internal/mithril-era/Cargo.toml b/internal/mithril-era/Cargo.toml index aa6e6eb3e93..279e24137e2 100644 --- a/internal/mithril-era/Cargo.toml +++ b/internal/mithril-era/Cargo.toml @@ -21,5 +21,4 @@ serde_json = { workspace = true } thiserror = { workspace = true } [dev-dependencies] -mithril-common = { path = "../../mithril-common", features = ["test_tools"] } tokio = { workspace = true, features = ["macros"] } diff --git a/internal/mithril-metric/Cargo.toml b/internal/mithril-metric/Cargo.toml index 214efc34972..02f0b30b123 100644 --- a/internal/mithril-metric/Cargo.toml +++ b/internal/mithril-metric/Cargo.toml @@ -22,7 +22,6 @@ slog = { workspace = true } tokio = { workspace = true } [dev-dependencies] -mithril-common = { path = "../../mithril-common", features = ["test_tools"] } prometheus-parse = "0.2.5" slog-async = { workspace = true } slog-term = { workspace = true } diff --git a/internal/mithril-persistence/Cargo.toml b/internal/mithril-persistence/Cargo.toml index 008cd3c85a7..988cc8264f8 100644 --- a/internal/mithril-persistence/Cargo.toml +++ b/internal/mithril-persistence/Cargo.toml @@ -26,5 +26,4 @@ thiserror = { workspace = true } tokio = { workspace = true } [dev-dependencies] -mithril-common = { path = "../../mithril-common", features = ["test_tools"] } tokio = { workspace = true, features = ["macros", "time"] } diff --git a/internal/mithril-resource-pool/Cargo.toml b/internal/mithril-resource-pool/Cargo.toml index e346b928ef0..17f5b6764e1 100644 --- a/internal/mithril-resource-pool/Cargo.toml +++ b/internal/mithril-resource-pool/Cargo.toml @@ -18,5 +18,4 @@ thiserror = { workspace = true } tokio = { workspace = true } [dev-dependencies] -mithril-common = { path = "../../mithril-common", features = ["test_tools"] } tokio = { workspace = true, features = ["macros", "time"] } diff --git a/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml b/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml index 3b75ef97e53..69cfb73cc6a 100644 --- a/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml +++ b/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml @@ -21,7 +21,6 @@ slog = { workspace = true } tokio = { workspace = true } [dev-dependencies] -mithril-common = { path = "../../../mithril-common", features = ["test_tools"] } mockall = { workspace = true } slog-async = { workspace = true } slog-term = { workspace = true } diff --git a/internal/tests/mithril-api-spec/Cargo.toml b/internal/tests/mithril-api-spec/Cargo.toml index b77d61e6237..42192c2cff3 100644 --- a/internal/tests/mithril-api-spec/Cargo.toml +++ b/internal/tests/mithril-api-spec/Cargo.toml @@ -17,4 +17,4 @@ serde_yml = "0.0.12" warp = { workspace = true } [dev-dependencies] -mithril-common = { path = "../../../mithril-common", features = ["test_tools"] } +mithril-common = { path = "../../../mithril-common" } diff --git a/mithril-aggregator/Cargo.toml b/mithril-aggregator/Cargo.toml index 99bebadc43b..14f4cc9953d 100644 --- a/mithril-aggregator/Cargo.toml +++ b/mithril-aggregator/Cargo.toml @@ -29,7 +29,7 @@ hex = { workspace = true } mithril-cardano-node-chain = { path = "../internal/cardano-node/mithril-cardano-node-chain" } mithril-cardano-node-internal-database = { path = "../internal/cardano-node/mithril-cardano-node-internal-database" } mithril-cli-helper = { path = "../internal/mithril-cli-helper" } -mithril-common = { path = "../mithril-common", features = ["full"] } +mithril-common = { path = "../mithril-common" } mithril-dmq = { path = "../internal/mithril-dmq", optional = true } mithril-doc = { path = "../internal/mithril-doc" } mithril-era = { path = "../internal/mithril-era" } @@ -82,10 +82,7 @@ criterion = { version = "0.6.0", features = ["html_reports", "async_tokio"] } http = "1.3.1" httpmock = "0.7.0" mithril-api-spec = { path = "../internal/tests/mithril-api-spec" } -mithril-common = { path = "../mithril-common", features = [ - "allow_skip_signer_certification", - "test_tools", -] } +mithril-common = { path = "../mithril-common", features = ["allow_skip_signer_certification"] } mithril-test-http-server = { path = "../internal/tests/mithril-test-http-server" } mockall = { workspace = true } slog-scope = "4.4.0" diff --git a/mithril-client-cli/Cargo.toml b/mithril-client-cli/Cargo.toml index fa7ab9fcdf8..da514e98ac9 100644 --- a/mithril-client-cli/Cargo.toml +++ b/mithril-client-cli/Cargo.toml @@ -62,5 +62,5 @@ zip = "4.3.0" [dev-dependencies] httpmock = "0.7.0" -mithril-common = { path = "../mithril-common", features = ["test_tools"] } +mithril-common = { path = "../mithril-common" } mockall = { workspace = true } diff --git a/mithril-client/Cargo.toml b/mithril-client/Cargo.toml index 0050b4cbfd8..b47e08e15e4 100644 --- a/mithril-client/Cargo.toml +++ b/mithril-client/Cargo.toml @@ -90,9 +90,6 @@ bon = "3.6.4" hex = { workspace = true } http = "1.3.1" httpmock = "0.7.0" -mithril-common = { path = "../mithril-common", version = ">=0.5", default-features = false, features = [ - "test_tools", -] } mockall = { workspace = true } sha2 = "0.10.9" slog-async = { workspace = true } diff --git a/mithril-common/Cargo.toml b/mithril-common/Cargo.toml index 2dd50e8e471..814494d18a9 100644 --- a/mithril-common/Cargo.toml +++ b/mithril-common/Cargo.toml @@ -24,9 +24,6 @@ crate-type = ["lib", "cdylib", "staticlib"] [features] default = ["rug-backend"] -# Full feature set -full = ["test_tools"] - # Enables `rug-backend` features for `mithril-stm` dependency rug-backend = ["mithril-stm/rug-backend"] # Enables `num-integer-backend` features for `mithril-stm` dependency @@ -35,8 +32,6 @@ num-integer-backend = ["mithril-stm/num-integer-backend"] # Disable signer certification, to be used only for tests allow_skip_signer_certification = [] -# Enable all tests tools -test_tools = [] [dependencies] anyhow = { workspace = true } diff --git a/mithril-common/Makefile b/mithril-common/Makefile index ecd1289a532..c3e68deb9a6 100644 --- a/mithril-common/Makefile +++ b/mithril-common/Makefile @@ -1,11 +1,6 @@ .PHONY: all build test check doc check-all-features-set CARGO = cargo -# All the crates features excluding the two that have little to no impact to the code -FEATURES := $(shell ${CARGO} metadata --quiet --no-deps \ - | jq -r '.packages[] | select(.name=="mithril-common") | .features \ - | del(.allow_skip_signer_certification) | del(.portable) \ - | keys | join(" ")') all: test build @@ -25,19 +20,3 @@ doc: bench: ${CARGO} bench --features full --verbose - -# Compute the powerset of all the given features and save it to a file -.feature-sets: - powerset() { [ $$# -eq 0 ] && echo || (shift; powerset "$$@") | while read r ; do echo "$$1 $$r"; echo "$$r"; done };\ - powerset $$(echo "$(FEATURES)") > .features-sets - -check-all-features-set: .feature-sets - # Read the file to run cargo clippy on all those features sets - cat .features-sets | while read features_set; do \ - echo "Clippy common with feature '$$features_set''"; \ - ${CARGO} clippy -p mithril-common --features "$$features_set"; \ - done - echo "Clippy common without features"; \ - ${CARGO} clippy -p mithril-common - - rm .features-sets diff --git a/mithril-common/src/api_version.rs b/mithril-common/src/api_version.rs index c34c35c3430..1fcb52eaba7 100644 --- a/mithril-common/src/api_version.rs +++ b/mithril-common/src/api_version.rs @@ -79,7 +79,6 @@ impl Default for APIVersionProvider { } } -#[cfg(any(test, feature = "test_tools"))] impl crate::test::api_version_extensions::ApiVersionProviderTestExtension for APIVersionProvider { fn update_open_api_versions(&mut self, open_api_versions: HashMap) { self.open_api_versions = open_api_versions; diff --git a/mithril-common/src/crypto_helper/cardano/key_certification.rs b/mithril-common/src/crypto_helper/cardano/key_certification.rs index f80bbebc378..3bf8b12095a 100644 --- a/mithril-common/src/crypto_helper/cardano/key_certification.rs +++ b/mithril-common/src/crypto_helper/cardano/key_certification.rs @@ -292,7 +292,6 @@ impl KeyRegWrapper { } } -#[cfg(any(test, feature = "test_tools"))] mod test_extensions { use crate::test::crypto_helper::ProtocolInitializerTestExtension; diff --git a/mithril-common/src/entities/block_range.rs b/mithril-common/src/entities/block_range.rs index c678dcdb902..fbe3d5793d1 100644 --- a/mithril-common/src/entities/block_range.rs +++ b/mithril-common/src/entities/block_range.rs @@ -201,7 +201,6 @@ impl ExactSizeIterator for BlockRangesSequence { } } -#[cfg(any(test, feature = "test_tools"))] mod test_extensions { use crate::test::entities_extensions::BlockRangeTestExtension; diff --git a/mithril-common/src/lib.rs b/mithril-common/src/lib.rs index b1973536571..b6bbf84d1bc 100644 --- a/mithril-common/src/lib.rs +++ b/mithril-common/src/lib.rs @@ -18,8 +18,6 @@ pub mod messages; pub mod protocol; pub mod signable_builder; -#[cfg(any(test, feature = "test_tools"))] -#[cfg_attr(docsrs, doc(cfg(feature = "test_tools")))] pub mod test; pub use entities::{CardanoNetwork, MagicId}; diff --git a/mithril-relay/Cargo.toml b/mithril-relay/Cargo.toml index f8cb6c9de05..3d434e3ca95 100644 --- a/mithril-relay/Cargo.toml +++ b/mithril-relay/Cargo.toml @@ -34,7 +34,7 @@ libp2p = { version = "0.56.0", features = [ "websocket", "yamux", ] } -mithril-common = { path = "../mithril-common", features = ["full"] } +mithril-common = { path = "../mithril-common" } mithril-doc = { path = "../internal/mithril-doc" } mithril-test-http-server = { path = "../internal/tests/mithril-test-http-server" } reqwest = { workspace = true, features = [ diff --git a/mithril-signer/Cargo.toml b/mithril-signer/Cargo.toml index 0e782250558..b46af5e2874 100644 --- a/mithril-signer/Cargo.toml +++ b/mithril-signer/Cargo.toml @@ -26,7 +26,7 @@ hex = { workspace = true } mithril-cardano-node-chain = { path = "../internal/cardano-node/mithril-cardano-node-chain" } mithril-cardano-node-internal-database = { path = "../internal/cardano-node/mithril-cardano-node-internal-database" } mithril-cli-helper = { path = "../internal/mithril-cli-helper" } -mithril-common = { path = "../mithril-common", features = ["full"] } +mithril-common = { path = "../mithril-common" } mithril-dmq = { path = "../internal/mithril-dmq", optional = true } mithril-doc = { path = "../internal/mithril-doc" } mithril-era = { path = "../internal/mithril-era" } @@ -64,7 +64,6 @@ tikv-jemallocator = { version = "0.6.0", optional = true } criterion = { version = "0.6.0", features = ["html_reports", "async_tokio"] } http = "1.3.1" httpmock = "0.7.0" -mithril-common = { path = "../mithril-common" } mockall = { workspace = true } prometheus-parse = "0.2.5" slog-scope = "4.4.0" diff --git a/mithril-test-lab/mithril-end-to-end/Cargo.toml b/mithril-test-lab/mithril-end-to-end/Cargo.toml index a3faec7362d..cf979a59991 100644 --- a/mithril-test-lab/mithril-end-to-end/Cargo.toml +++ b/mithril-test-lab/mithril-end-to-end/Cargo.toml @@ -26,7 +26,7 @@ clap = { workspace = true } indicatif = { version = "0.18.0", features = ["tokio"] } mithril-cardano-node-chain = { path = "../../internal/cardano-node/mithril-cardano-node-chain" } mithril-cardano-node-internal-database = { path = "../../internal/cardano-node/mithril-cardano-node-internal-database" } -mithril-common = { path = "../../mithril-common", features = ["full"] } +mithril-common = { path = "../../mithril-common" } mithril-doc = { path = "../../internal/mithril-doc" } reqwest = { workspace = true, features = ["default"] } serde = { workspace = true } From 6e8db4a6b42c4dcc3a405c87c5df1b44b580ef23 Mon Sep 17 00:00:00 2001 From: DJO <790521+Alenar@users.noreply.github.com> Date: Fri, 25 Jul 2025 16:59:44 +0200 Subject: [PATCH 2/4] chore: add dev-adr for guidelines on writting test utilities --- DEV-ADR.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/DEV-ADR.md b/DEV-ADR.md index ccbd48d9eb9..cf9df6c3a76 100644 --- a/DEV-ADR.md +++ b/DEV-ADR.md @@ -23,6 +23,51 @@ To complete To complete --> +### 4. Guidelines for crate test utilities + +date: 2025-07-25 +status: Accepted + +### Context + +- For testing, crates may need to define reusable test utilities +- Some of those utilities may need to be exposed to child crates to enable or facilitate writing tests +- We want to isolate test utilities from production code as much as possible +- We want to limit the number of feature flags so the Rust compiler may reuse built artifacts effectively, reducing build time + +### Decision + +Test utilities should be organized following these rules: + +1. Each crate must define its private and public test utilities in a `test` module +2. A test utility should be made public if it is reused in a child crate or in the crate's integration tests +3. Making a test utility public should not add any dependency to the crate +4. Private test utilities should be behind `cfg(test)` +5. Importing a public test utility should always require an import path that contains a `test` module, so their misuse + in production code can be easily identified +6. No feature flag should be added to isolate test utilities from production code + +Specific cases: + +- Test doubles (fakes, dummies, mocks, stubs, etc.): should be located in a `test::double` module +- Builders of test data should be located in a `test::builder` module +- Extending a type with a test-only method should be done using extension traits located in the `test` module, which + forces the import of a `test`-scoped symbol + - Their name should be suffixed with `TestExtension` + - Implementation of those traits should preferably be below the trait definition, but if some methods need to access + private properties, then the implementation may be located below their extended type + +#### Consequences + +- Enhanced consistency in code organization +- Improved discoverability of test utilities +- Clearer distinction between production and test code +- Simplified maintenance of test utilities +- Child crates can reuse common test utilities when needed +- Feature flag usage is minimized, avoiding unnecessary recompilation + +--- + ### 3. Guidelines for Dummy Test Doubles **Date:** 2025-07-22 From 245f6d357f42b80fe2bbbc99b50c37ae7333b3c1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Tue, 19 Aug 2025 11:04:15 +0200 Subject: [PATCH 3/4] docs: update dev ADR for crate utilies guidelines --- DEV-ADR.md | 57 ++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 30 deletions(-) diff --git a/DEV-ADR.md b/DEV-ADR.md index cf9df6c3a76..db11d39e18b 100644 --- a/DEV-ADR.md +++ b/DEV-ADR.md @@ -25,46 +25,43 @@ To complete ### 4. Guidelines for crate test utilities -date: 2025-07-25 -status: Accepted +**Date:** 2025-07-25 +**Status:** Accepted ### Context -- For testing, crates may need to define reusable test utilities -- Some of those utilities may need to be exposed to child crates to enable or facilitate writing tests -- We want to isolate test utilities from production code as much as possible -- We want to limit the number of feature flags so the Rust compiler may reuse built artifacts effectively, reducing build time +- Testing requires reusable utilities that may need to be shared across crates +- Test utilities should be isolated from production code while remaining accessible to child crates +- We need to minimize feature flags to optimize Rust compiler artifact reuse and reduce build times ### Decision -Test utilities should be organized following these rules: +Test utilities must follow this organizational structure: + +**Core Rules:** -1. Each crate must define its private and public test utilities in a `test` module -2. A test utility should be made public if it is reused in a child crate or in the crate's integration tests -3. Making a test utility public should not add any dependency to the crate -4. Private test utilities should be behind `cfg(test)` -5. Importing a public test utility should always require an import path that contains a `test` module, so their misuse - in production code can be easily identified -6. No feature flag should be added to isolate test utilities from production code +1. All test utilities belong in a dedicated `test` module within each crate +2. Utilities become public only when used by child crates or integration tests +3. Public test utilities must not introduce additional dependencies +4. Private test utilities are gated behind `cfg(test)` +5. Import paths must explicitly include `test` modules to prevent accidental production usage +6. Feature flags are prohibited for test utility isolation -Specific cases: +**Module Organization:** -- Test doubles (fakes, dummies, mocks, stubs, etc.): should be located in a `test::double` module -- Builders of test data should be located in a `test::builder` module -- Extending a type with a test-only method should be done using extension traits located in the `test` module, which - forces the import of a `test`-scoped symbol - - Their name should be suffixed with `TestExtension` - - Implementation of those traits should preferably be below the trait definition, but if some methods need to access - private properties, then the implementation may be located below their extended type +- **Test doubles** (mocks, fakes, stubs): `test::double` module +- **Test data builders**: `test::builder` module +- **Test-only type extensions**: Extension traits in `test` module + - Trait names end with `TestExtension` + - Implementations follow trait definitions, except when accessing private fields #### Consequences -- Enhanced consistency in code organization -- Improved discoverability of test utilities -- Clearer distinction between production and test code -- Simplified maintenance of test utilities -- Child crates can reuse common test utilities when needed -- Feature flag usage is minimized, avoiding unnecessary recompilation +- Consistent codebase organization across all crates +- Clear separation between production and test code +- Improved discoverability and maintainability of test utilities +- Reduced build times through minimal feature flag usage +- Enhanced reusability of test utilities across child crates --- @@ -96,7 +93,7 @@ The following guidelines will be adopted for implementing the `Dummy` trait: --- -## 2. Remove Artifacts serialization support when compiling to WebAssembly +## 2. Remove artifacts serialization support when compiling to WebAssembly date: 2025-02-26 status: Accepted @@ -133,7 +130,7 @@ In the future, if we need to serialize and deserialize Artifacts in WebAssembly, --- -## 1. Record Architecture Decisions +## 1. Record architecture decisions date: 2025-02-26 status: Accepted From 68a0017632636d3c95792e7940982a09d29bbd66 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Tue, 19 Aug 2025 11:04:41 +0200 Subject: [PATCH 4/4] chore: upgrade crate versions * mithril-cardano-node-chain from `0.1.6` to `0.1.7` * mithril-cardano-node-internal-database from `0.1.4` to `0.1.5` * mithril-aggregator-client from `0.1.0` to `0.1.1` * mithril-dmq from `0.1.7` to `0.1.8` * mithril-era from `0.1.4` to `0.1.5` * mithril-metric from `0.1.18` to `0.1.19` * mithril-persistence from `0.2.58` to `0.2.59` * mithril-resource-pool from `0.0.7` to `0.0.8` * mithril-signed-entity-preloader from `0.0.9` to `0.0.10` * mithril-api-spec from `0.1.4` to `0.1.5` * mithril-aggregator from `0.7.80` to `0.7.81` * mithril-client-cli from `0.12.25` to `0.12.26` * mithril-client from `0.12.26` to `0.12.27` * mithril-common from `0.6.14` to `0.6.15` * mithril-relay from `0.1.49` to `0.1.50` * mithril-signer from `0.2.264` to `0.2.265` * mithril-end-to-end from `0.4.100` to `0.4.101` --- Cargo.lock | 34 +++++++++---------- .../mithril-cardano-node-chain/Cargo.toml | 2 +- .../Cargo.toml | 2 +- internal/mithril-aggregator-client/Cargo.toml | 2 +- internal/mithril-dmq/Cargo.toml | 2 +- internal/mithril-era/Cargo.toml | 2 +- internal/mithril-metric/Cargo.toml | 2 +- internal/mithril-persistence/Cargo.toml | 2 +- internal/mithril-resource-pool/Cargo.toml | 2 +- .../Cargo.toml | 2 +- internal/tests/mithril-api-spec/Cargo.toml | 2 +- mithril-aggregator/Cargo.toml | 2 +- mithril-client-cli/Cargo.toml | 2 +- mithril-client/Cargo.toml | 2 +- mithril-common/Cargo.toml | 2 +- mithril-relay/Cargo.toml | 2 +- mithril-signer/Cargo.toml | 2 +- .../mithril-end-to-end/Cargo.toml | 2 +- 18 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2be227252f3..f855aa7efbf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3928,7 +3928,7 @@ dependencies = [ [[package]] name = "mithril-aggregator" -version = "0.7.80" +version = "0.7.81" dependencies = [ "anyhow", "async-trait", @@ -3987,7 +3987,7 @@ dependencies = [ [[package]] name = "mithril-aggregator-client" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "async-trait", @@ -4030,7 +4030,7 @@ dependencies = [ [[package]] name = "mithril-api-spec" -version = "0.1.4" +version = "0.1.5" dependencies = [ "jsonschema", "mithril-common", @@ -4052,7 +4052,7 @@ dependencies = [ [[package]] name = "mithril-cardano-node-chain" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anyhow", "async-trait", @@ -4080,7 +4080,7 @@ dependencies = [ [[package]] name = "mithril-cardano-node-internal-database" -version = "0.1.4" +version = "0.1.5" dependencies = [ "anyhow", "async-trait", @@ -4111,7 +4111,7 @@ dependencies = [ [[package]] name = "mithril-client" -version = "0.12.26" +version = "0.12.27" dependencies = [ "anyhow", "async-recursion", @@ -4149,7 +4149,7 @@ dependencies = [ [[package]] name = "mithril-client-cli" -version = "0.12.25" +version = "0.12.26" dependencies = [ "anyhow", "async-trait", @@ -4201,7 +4201,7 @@ dependencies = [ [[package]] name = "mithril-common" -version = "0.6.14" +version = "0.6.15" dependencies = [ "anyhow", "async-trait", @@ -4243,7 +4243,7 @@ dependencies = [ [[package]] name = "mithril-dmq" -version = "0.1.7" +version = "0.1.8" dependencies = [ "anyhow", "async-trait", @@ -4279,7 +4279,7 @@ dependencies = [ [[package]] name = "mithril-end-to-end" -version = "0.4.100" +version = "0.4.101" dependencies = [ "anyhow", "async-recursion", @@ -4302,7 +4302,7 @@ dependencies = [ [[package]] name = "mithril-era" -version = "0.1.4" +version = "0.1.5" dependencies = [ "anyhow", "async-trait", @@ -4316,7 +4316,7 @@ dependencies = [ [[package]] name = "mithril-metric" -version = "0.1.18" +version = "0.1.19" dependencies = [ "anyhow", "axum", @@ -4333,7 +4333,7 @@ dependencies = [ [[package]] name = "mithril-persistence" -version = "0.2.58" +version = "0.2.59" dependencies = [ "anyhow", "async-trait", @@ -4351,7 +4351,7 @@ dependencies = [ [[package]] name = "mithril-relay" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "clap", @@ -4377,7 +4377,7 @@ dependencies = [ [[package]] name = "mithril-resource-pool" -version = "0.0.7" +version = "0.0.8" dependencies = [ "anyhow", "mithril-common", @@ -4395,7 +4395,7 @@ dependencies = [ [[package]] name = "mithril-signed-entity-preloader" -version = "0.0.9" +version = "0.0.10" dependencies = [ "anyhow", "async-trait", @@ -4411,7 +4411,7 @@ dependencies = [ [[package]] name = "mithril-signer" -version = "0.2.264" +version = "0.2.265" dependencies = [ "anyhow", "async-trait", diff --git a/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml b/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml index 19573fc6824..e7024a7dc69 100644 --- a/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml +++ b/internal/cardano-node/mithril-cardano-node-chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-cardano-node-chain" -version = "0.1.6" +version = "0.1.7" authors.workspace = true documentation.workspace = true edition.workspace = true diff --git a/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml b/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml index 6d76286f8c0..6dd1e5b0e4c 100644 --- a/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml +++ b/internal/cardano-node/mithril-cardano-node-internal-database/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-cardano-node-internal-database" -version = "0.1.4" +version = "0.1.5" description = "Mechanisms that allow Mithril nodes to read the files of a Cardano node internal database and compute digests from them" authors.workspace = true documentation.workspace = true diff --git a/internal/mithril-aggregator-client/Cargo.toml b/internal/mithril-aggregator-client/Cargo.toml index c9b1e90dda3..db382291848 100644 --- a/internal/mithril-aggregator-client/Cargo.toml +++ b/internal/mithril-aggregator-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-aggregator-client" -version = "0.1.0" +version = "0.1.1" description = "Client to request data from a Mithril Aggregator" authors.workspace = true documentation.workspace = true diff --git a/internal/mithril-dmq/Cargo.toml b/internal/mithril-dmq/Cargo.toml index f5dde68fec0..e8e02336f40 100644 --- a/internal/mithril-dmq/Cargo.toml +++ b/internal/mithril-dmq/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mithril-dmq" description = "Mechanisms to publish and consume messages of a 'Decentralized Message Queue network' through a DMQ node" -version = "0.1.7" +version = "0.1.8" authors.workspace = true documentation.workspace = true edition.workspace = true diff --git a/internal/mithril-era/Cargo.toml b/internal/mithril-era/Cargo.toml index 279e24137e2..9c3b6d029a1 100644 --- a/internal/mithril-era/Cargo.toml +++ b/internal/mithril-era/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-era" -version = "0.1.4" +version = "0.1.5" authors.workspace = true documentation.workspace = true edition.workspace = true diff --git a/internal/mithril-metric/Cargo.toml b/internal/mithril-metric/Cargo.toml index 02f0b30b123..5d1a6e51068 100644 --- a/internal/mithril-metric/Cargo.toml +++ b/internal/mithril-metric/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-metric" -version = "0.1.18" +version = "0.1.19" description = "Common tools to expose metrics." authors = { workspace = true } edition = { workspace = true } diff --git a/internal/mithril-persistence/Cargo.toml b/internal/mithril-persistence/Cargo.toml index 988cc8264f8..3133c89de29 100644 --- a/internal/mithril-persistence/Cargo.toml +++ b/internal/mithril-persistence/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-persistence" -version = "0.2.58" +version = "0.2.59" description = "Common types, interfaces, and utilities to persist data for Mithril nodes." authors = { workspace = true } edition = { workspace = true } diff --git a/internal/mithril-resource-pool/Cargo.toml b/internal/mithril-resource-pool/Cargo.toml index 17f5b6764e1..a44dfb4a764 100644 --- a/internal/mithril-resource-pool/Cargo.toml +++ b/internal/mithril-resource-pool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-resource-pool" -version = "0.0.7" +version = "0.0.8" description = "Provide a resource pool for Mithril." authors = { workspace = true } edition = { workspace = true } diff --git a/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml b/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml index 69cfb73cc6a..85d4b7dbac1 100644 --- a/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml +++ b/internal/signed-entity/mithril-signed-entity-preloader/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-signed-entity-preloader" -version = "0.0.9" +version = "0.0.10" description = "A preload mechanism for Cardano Transaction signed entity." authors = { workspace = true } edition = { workspace = true } diff --git a/internal/tests/mithril-api-spec/Cargo.toml b/internal/tests/mithril-api-spec/Cargo.toml index 42192c2cff3..27229bea086 100644 --- a/internal/tests/mithril-api-spec/Cargo.toml +++ b/internal/tests/mithril-api-spec/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-api-spec" -version = "0.1.4" +version = "0.1.5" authors.workspace = true documentation.workspace = true edition.workspace = true diff --git a/mithril-aggregator/Cargo.toml b/mithril-aggregator/Cargo.toml index 14f4cc9953d..9a1cdf81136 100644 --- a/mithril-aggregator/Cargo.toml +++ b/mithril-aggregator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-aggregator" -version = "0.7.80" +version = "0.7.81" description = "A Mithril Aggregator server" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-client-cli/Cargo.toml b/mithril-client-cli/Cargo.toml index da514e98ac9..8195fcbdcca 100644 --- a/mithril-client-cli/Cargo.toml +++ b/mithril-client-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-client-cli" -version = "0.12.25" +version = "0.12.26" description = "A Mithril Client" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-client/Cargo.toml b/mithril-client/Cargo.toml index b47e08e15e4..22e9deac326 100644 --- a/mithril-client/Cargo.toml +++ b/mithril-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-client" -version = "0.12.26" +version = "0.12.27" description = "Mithril client library" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-common/Cargo.toml b/mithril-common/Cargo.toml index 814494d18a9..ec51525a707 100644 --- a/mithril-common/Cargo.toml +++ b/mithril-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-common" -version = "0.6.14" +version = "0.6.15" description = "Common types, interfaces, and utilities for Mithril nodes." authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-relay/Cargo.toml b/mithril-relay/Cargo.toml index 3d434e3ca95..12645d7a211 100644 --- a/mithril-relay/Cargo.toml +++ b/mithril-relay/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-relay" -version = "0.1.49" +version = "0.1.50" description = "A Mithril relay" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-signer/Cargo.toml b/mithril-signer/Cargo.toml index b46af5e2874..d3974c37417 100644 --- a/mithril-signer/Cargo.toml +++ b/mithril-signer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-signer" -version = "0.2.264" +version = "0.2.265" description = "A Mithril Signer" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-test-lab/mithril-end-to-end/Cargo.toml b/mithril-test-lab/mithril-end-to-end/Cargo.toml index cf979a59991..017746e4ce8 100644 --- a/mithril-test-lab/mithril-end-to-end/Cargo.toml +++ b/mithril-test-lab/mithril-end-to-end/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-end-to-end" -version = "0.4.100" +version = "0.4.101" authors = { workspace = true } edition = { workspace = true } documentation = { workspace = true }