Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Set polkadot version in one place #6095

Merged
merged 8 commits into from
Dec 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ path = "src/main.rs"
name = "polkadot"
description = "Implementation of a `https://polkadot.network` node in Rust based on the Substrate framework."
license = "GPL-3.0-only"
version = "0.9.33"
rust-version = "1.64.0" # workspace properties
readme = "README.md"
authors.workspace = true
edition.workspace = true
version.workspace = true

[workspace.package]
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
rust-version = "1.57.0" # custom profiles
readme = "README.md"
repository = "https://github.com/paritytech/polkadot.git"
version = "0.9.33"

[dependencies]
polkadot-cli = { path = "cli", features = [ "kusama-native", "westend-native", "rococo-native" ] }
Expand All @@ -24,7 +30,7 @@ tempfile = "3.2.0"
tokio = "1.19.2"
substrate-rpc-client = { git = "https://github.com/paritytech/substrate", branch = "master" }
polkadot-core-primitives = { path = "core-primitives" }

[workspace]
members = [
"cli",
Expand Down
6 changes: 3 additions & 3 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "polkadot-cli"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Polkadot Relay-chain Client Node"
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[package.metadata.wasm-pack.profile.release]
# `wasm-opt` has some problems on Linux, see
Expand Down
6 changes: 3 additions & 3 deletions core-primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-core-primitives"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions erasure-coding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-erasure-coding"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
polkadot-primitives = { path = "../primitives" }
Expand Down
6 changes: 3 additions & 3 deletions erasure-coding/fuzzer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "erasure_coding_fuzzer"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
polkadot-erasure-coding = { path = ".." }
Expand Down
6 changes: 3 additions & 3 deletions node/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-client"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
async-trait = "0.1.57"
Expand Down
6 changes: 3 additions & 3 deletions node/collation-generation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-collation-generation"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/approval-voting/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-approval-voting"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/av-store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-av-store"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/backing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-backing"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/bitfield-signing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-bitfield-signing"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/candidate-validation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-candidate-validation"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
async-trait = "0.1.57"
Expand Down
6 changes: 3 additions & 3 deletions node/core/chain-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-chain-api"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/chain-selection/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "polkadot-node-core-chain-selection"
description = "Chain Selection Subsystem"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/dispute-coordinator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-dispute-coordinator"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/parachains-inherent/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-parachains-inherent"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/provisioner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-provisioner"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
Expand Down
6 changes: 3 additions & 3 deletions node/core/pvf-checker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-pvf-checker"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/core/pvf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-pvf"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[[bin]]
name = "puppet_worker"
Expand Down
6 changes: 3 additions & 3 deletions node/core/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-core-runtime-api"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/gum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "tracing-gum"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Stick logs together with the TraceID as provided by tempo"

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions node/gum/proc-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "tracing-gum-proc-macro"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition."

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions node/jaeger/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-node-jaeger"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo"

[dependencies]
Expand Down
6 changes: 3 additions & 3 deletions node/malus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
name = "polkadot-test-malus"
description = "Misbehaving nodes for local testnets, system and Simnet tests."
license = "GPL-3.0-only"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true
readme = "README.md"
publish = false

Expand Down
6 changes: 3 additions & 3 deletions node/metrics/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "polkadot-node-metrics"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
description = "Subsystem metric helpers"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/network/approval-distribution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-approval-distribution"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
polkadot-node-primitives = { path = "../../primitives" }
Expand Down
6 changes: 3 additions & 3 deletions node/network/availability-distribution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-availability-distribution"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/network/availability-recovery/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-availability-recovery"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/network/bitfield-distribution/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-availability-bitfield-distribution"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
6 changes: 3 additions & 3 deletions node/network/bridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-network-bridge"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
always-assert = "0.1"
Expand Down
6 changes: 3 additions & 3 deletions node/network/collator-protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "polkadot-collator-protocol"
version = "0.9.33"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
version.workspace = true
authors.workspace = true
edition.workspace = true

[dependencies]
always-assert = "0.1.2"
Expand Down
Loading