From 4506aa017fe3ac8065229b162dd1ab7bdd6469ee Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Thu, 8 Feb 2024 17:30:29 +0100 Subject: [PATCH] fix version field missing for srtool --- Cargo.lock | 42 +++++++++---------- Cargo.toml | 1 + end2end-tests/Cargo.toml | 1 + live-tests/Cargo.toml | 1 + pallets/authority-members/Cargo.toml | 1 + pallets/certification/Cargo.toml | 1 + pallets/distance/Cargo.toml | 1 + pallets/duniter-account/Cargo.toml | 2 +- pallets/duniter-test-parameters/Cargo.toml | 1 + .../duniter-test-parameters/macro/Cargo.toml | 1 + pallets/duniter-wot/Cargo.toml | 1 + pallets/identity/Cargo.toml | 1 + pallets/membership/Cargo.toml | 2 +- pallets/offences/Cargo.toml | 1 + pallets/oneshot-account/Cargo.toml | 1 + pallets/provide-randomness/Cargo.toml | 1 + pallets/quota/Cargo.toml | 1 + pallets/session-benchmarking/Cargo.toml | 1 + pallets/smith-members/Cargo.toml | 1 + pallets/universal-dividend/Cargo.toml | 1 + pallets/upgrade-origin/Cargo.toml | 1 + primitives/distance/Cargo.toml | 1 + primitives/duniter/Cargo.toml | 1 + primitives/membership/Cargo.toml | 1 + resources/weight_analyzer/Cargo.toml | 1 + runtime/common/Cargo.toml | 1 + runtime/g1/Cargo.toml | 1 + runtime/gdev/Cargo.toml | 1 + runtime/gtest/Cargo.toml | 1 + 29 files changed, 49 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 326d351f7..26b1ac95a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2478,7 +2478,7 @@ dependencies = [ [[package]] name = "duniter-end2end-tests" -version = "0.0.0" +version = "3.0.0" dependencies = [ "anyhow", "clap", @@ -2502,7 +2502,7 @@ dependencies = [ [[package]] name = "duniter-live-tests" -version = "0.0.0" +version = "3.0.0" dependencies = [ "anyhow", "countmap", @@ -2516,7 +2516,7 @@ dependencies = [ [[package]] name = "duniter-primitives" -version = "0.0.0" +version = "3.0.0" [[package]] name = "dyn-clonable" @@ -3407,7 +3407,7 @@ dependencies = [ [[package]] name = "g1-runtime" -version = "0.0.0" +version = "3.0.0" dependencies = [ "common-runtime", "frame-benchmarking", @@ -3480,7 +3480,7 @@ dependencies = [ [[package]] name = "gdev-runtime" -version = "0.0.0" +version = "3.0.0" dependencies = [ "common-runtime", "frame-benchmarking", @@ -3783,7 +3783,7 @@ dependencies = [ [[package]] name = "gtest-runtime" -version = "0.0.0" +version = "3.0.0" dependencies = [ "common-runtime", "frame-benchmarking", @@ -6160,7 +6160,7 @@ dependencies = [ [[package]] name = "pallet-authority-members" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6234,7 +6234,7 @@ dependencies = [ [[package]] name = "pallet-certification" -version = "0.0.0" +version = "3.0.0" dependencies = [ "duniter-primitives", "frame-benchmarking", @@ -6269,7 +6269,7 @@ dependencies = [ [[package]] name = "pallet-distance" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6316,7 +6316,7 @@ dependencies = [ [[package]] name = "pallet-duniter-test-parameters" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6342,7 +6342,7 @@ dependencies = [ [[package]] name = "pallet-duniter-wot" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6386,7 +6386,7 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "0.0.0" +version = "3.0.0" dependencies = [ "duniter-primitives", "frame-benchmarking", @@ -6460,7 +6460,7 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-support", "frame-system", @@ -6476,7 +6476,7 @@ dependencies = [ [[package]] name = "pallet-oneshot-account" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6511,7 +6511,7 @@ dependencies = [ [[package]] name = "pallet-provide-randomness" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6542,7 +6542,7 @@ dependencies = [ [[package]] name = "pallet-quota" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6599,7 +6599,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-system", @@ -6611,7 +6611,7 @@ dependencies = [ [[package]] name = "pallet-smith-members" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6729,7 +6729,7 @@ dependencies = [ [[package]] name = "pallet-universal-dividend" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -10171,7 +10171,7 @@ dependencies = [ [[package]] name = "sp-distance" -version = "0.0.0" +version = "3.0.0" dependencies = [ "async-trait", "frame-support", @@ -10288,7 +10288,7 @@ dependencies = [ [[package]] name = "sp-membership" -version = "0.0.0" +version = "3.0.0" dependencies = [ "frame-support", "impl-trait-for-tuples", diff --git a/Cargo.toml b/Cargo.toml index 21f644d71..b928440f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,6 +43,7 @@ edition = '2021' homepage = 'https://duniter.org' license = 'AGPL-3.0' repository = 'https://git.duniter.org/nodes/rust/duniter-v2s' +version = '3.0.0' [workspace.dependencies] # crates.io dependencies diff --git a/end2end-tests/Cargo.toml b/end2end-tests/Cargo.toml index be7518c86..5bf23fc55 100644 --- a/end2end-tests/Cargo.toml +++ b/end2end-tests/Cargo.toml @@ -6,6 +6,7 @@ homepage.workspace = true license.workspace = true name = 'duniter-end2end-tests' repository.workspace = true +version.workspace = true [[test]] name = 'cucumber_tests' diff --git a/live-tests/Cargo.toml b/live-tests/Cargo.toml index 1821fd18b..49112b42f 100644 --- a/live-tests/Cargo.toml +++ b/live-tests/Cargo.toml @@ -6,6 +6,7 @@ homepage.workspace = true license.workspace = true name = 'duniter-live-tests' repository.workspace = true +version.workspace = true [dev-dependencies] anyhow = { workspace = true } diff --git a/pallets/authority-members/Cargo.toml b/pallets/authority-members/Cargo.toml index cdb561b69..5c1c304a8 100644 --- a/pallets/authority-members/Cargo.toml +++ b/pallets/authority-members/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'pallet-authority-members' readme = 'README.md' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/certification/Cargo.toml b/pallets/certification/Cargo.toml index 6ee43d0bb..19f8a24d9 100644 --- a/pallets/certification/Cargo.toml +++ b/pallets/certification/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'pallet-certification' readme = 'README.md' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/distance/Cargo.toml b/pallets/distance/Cargo.toml index 2a3b69651..17a1c2962 100644 --- a/pallets/distance/Cargo.toml +++ b/pallets/distance/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'pallet-distance' readme = 'README.md' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/duniter-account/Cargo.toml b/pallets/duniter-account/Cargo.toml index ac9043231..c52594b6a 100644 --- a/pallets/duniter-account/Cargo.toml +++ b/pallets/duniter-account/Cargo.toml @@ -7,7 +7,7 @@ license.workspace = true name = 'pallet-duniter-account' readme = 'README.md' repository.workspace = true -version = '3.0.0' +version.workspace = true [features] default = [ 'std' ] diff --git a/pallets/duniter-test-parameters/Cargo.toml b/pallets/duniter-test-parameters/Cargo.toml index 5dfd3f397..27a744431 100644 --- a/pallets/duniter-test-parameters/Cargo.toml +++ b/pallets/duniter-test-parameters/Cargo.toml @@ -6,6 +6,7 @@ homepage.workspace = true license.workspace = true name = 'pallet-duniter-test-parameters' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/duniter-test-parameters/macro/Cargo.toml b/pallets/duniter-test-parameters/macro/Cargo.toml index b3bed239c..3ae28bb82 100644 --- a/pallets/duniter-test-parameters/macro/Cargo.toml +++ b/pallets/duniter-test-parameters/macro/Cargo.toml @@ -6,6 +6,7 @@ homepage.workspace = true license.workspace = true name = 'pallet-duniter-test-parameters-macro' repository.workspace = true +version.workspace = true [lib] proc-macro = true diff --git a/pallets/duniter-wot/Cargo.toml b/pallets/duniter-wot/Cargo.toml index a91da7c7d..2bf24e14b 100644 --- a/pallets/duniter-wot/Cargo.toml +++ b/pallets/duniter-wot/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'pallet-duniter-wot' readme = 'README.md' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/identity/Cargo.toml b/pallets/identity/Cargo.toml index 0da3e812e..7a5fe703d 100644 --- a/pallets/identity/Cargo.toml +++ b/pallets/identity/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'pallet-identity' readme = 'README.md' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/membership/Cargo.toml b/pallets/membership/Cargo.toml index 19fcefab5..b7381b3d4 100644 --- a/pallets/membership/Cargo.toml +++ b/pallets/membership/Cargo.toml @@ -7,7 +7,7 @@ license.workspace = true name = 'pallet-membership' readme = 'README.md' repository.workspace = true -version = '3.0.0' +version.workspace = true [features] default = [ 'std' ] diff --git a/pallets/offences/Cargo.toml b/pallets/offences/Cargo.toml index 42b920c0f..935529986 100644 --- a/pallets/offences/Cargo.toml +++ b/pallets/offences/Cargo.toml @@ -7,6 +7,7 @@ homepage.workspace = true license.workspace = true repository.workspace = true readme = 'README.md' +version.workspace = true [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/oneshot-account/Cargo.toml b/pallets/oneshot-account/Cargo.toml index 1b950d20f..90982465f 100644 --- a/pallets/oneshot-account/Cargo.toml +++ b/pallets/oneshot-account/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'pallet-oneshot-account' readme = 'README.md' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/provide-randomness/Cargo.toml b/pallets/provide-randomness/Cargo.toml index 122fd766f..11e045633 100644 --- a/pallets/provide-randomness/Cargo.toml +++ b/pallets/provide-randomness/Cargo.toml @@ -6,6 +6,7 @@ homepage.workspace = true license.workspace = true name = 'pallet-provide-randomness' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/quota/Cargo.toml b/pallets/quota/Cargo.toml index ee80aa37f..ac65a11cf 100644 --- a/pallets/quota/Cargo.toml +++ b/pallets/quota/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'pallet-quota' readme = 'README.md' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/session-benchmarking/Cargo.toml b/pallets/session-benchmarking/Cargo.toml index bc7819ce3..6cdfbe887 100644 --- a/pallets/session-benchmarking/Cargo.toml +++ b/pallets/session-benchmarking/Cargo.toml @@ -7,6 +7,7 @@ homepage.workspace = true repository.workspace = true description = 'FRAME sessions pallet benchmarking' readme = 'README.md' +version.workspace = true [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/smith-members/Cargo.toml b/pallets/smith-members/Cargo.toml index 2d1c1e1f7..60518b35a 100644 --- a/pallets/smith-members/Cargo.toml +++ b/pallets/smith-members/Cargo.toml @@ -7,6 +7,7 @@ homepage.workspace = true license.workspace = true repository.workspace = true readme = 'README.md' +version.workspace = true [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/pallets/universal-dividend/Cargo.toml b/pallets/universal-dividend/Cargo.toml index 0f3b948cb..89918bdfd 100644 --- a/pallets/universal-dividend/Cargo.toml +++ b/pallets/universal-dividend/Cargo.toml @@ -6,6 +6,7 @@ homepage.workspace = true license.workspace = true name = 'pallet-universal-dividend' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/pallets/upgrade-origin/Cargo.toml b/pallets/upgrade-origin/Cargo.toml index 7f1b052ea..c6400ea84 100644 --- a/pallets/upgrade-origin/Cargo.toml +++ b/pallets/upgrade-origin/Cargo.toml @@ -6,6 +6,7 @@ homepage.workspace = true license.workspace = true name = 'pallet-upgrade-origin' repository.workspace = true +version.workspace = true [features] default = ['std'] diff --git a/primitives/distance/Cargo.toml b/primitives/distance/Cargo.toml index 1334722f6..31e8881ed 100644 --- a/primitives/distance/Cargo.toml +++ b/primitives/distance/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'sp-distance' readme = 'README.md' repository.workspace = true +version.workspace = true [package.metadata.docs.rs] default-features = false diff --git a/primitives/duniter/Cargo.toml b/primitives/duniter/Cargo.toml index 5883317e7..05e4bd3b0 100644 --- a/primitives/duniter/Cargo.toml +++ b/primitives/duniter/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'duniter-primitives' readme = 'README.md' repository.workspace = true +version.workspace = true [package.metadata.docs.rs] default-features = false diff --git a/primitives/membership/Cargo.toml b/primitives/membership/Cargo.toml index 7968666c6..85e2a928e 100644 --- a/primitives/membership/Cargo.toml +++ b/primitives/membership/Cargo.toml @@ -7,6 +7,7 @@ license.workspace = true name = 'sp-membership' readme = 'README.md' repository.workspace = true +version.workspace = true [package.metadata.docs.rs] default-features = false diff --git a/resources/weight_analyzer/Cargo.toml b/resources/weight_analyzer/Cargo.toml index eb83de24a..8186fe48b 100644 --- a/resources/weight_analyzer/Cargo.toml +++ b/resources/weight_analyzer/Cargo.toml @@ -5,6 +5,7 @@ edition.workspace = true homepage.workspace = true license.workspace = true repository.workspace = true +version.workspace = true [lib] name = 'weightanalyzer' diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index f4d2cead4..7b0b8c79e 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -4,6 +4,7 @@ description = 'Common code shared between all runtimes' license.workspace = true authors.workspace = true edition.workspace = true +version.workspace = true [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/runtime/g1/Cargo.toml b/runtime/g1/Cargo.toml index bbe89fc02..4f5bc1cbd 100644 --- a/runtime/g1/Cargo.toml +++ b/runtime/g1/Cargo.toml @@ -5,6 +5,7 @@ homepage.workspace = true license.workspace = true name = 'g1-runtime' repository.workspace = true +version.workspace = true [package.metadata.docs.rs] diff --git a/runtime/gdev/Cargo.toml b/runtime/gdev/Cargo.toml index e502714be..659173854 100644 --- a/runtime/gdev/Cargo.toml +++ b/runtime/gdev/Cargo.toml @@ -5,6 +5,7 @@ homepage.workspace = true license.workspace = true name = 'gdev-runtime' repository.workspace = true +version.workspace = true [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] diff --git a/runtime/gtest/Cargo.toml b/runtime/gtest/Cargo.toml index c4fcde20f..1c4e20f13 100644 --- a/runtime/gtest/Cargo.toml +++ b/runtime/gtest/Cargo.toml @@ -5,6 +5,7 @@ homepage.workspace = true license.workspace = true name = 'gtest-runtime' repository.workspace = true +version.workspace = true [package.metadata.docs.rs] targets = ['x86_64-unknown-linux-gnu'] -- GitLab