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 1 commit
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
Prev Previous commit
Next Next commit
add edition, repository and authors.
  • Loading branch information
gilescope committed Oct 5, 2022
commit 2b8c8d78befacb6aa6ac534e8465ef618ca938fb
13 changes: 8 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ 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"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
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"
repository = "https://github.com/paritytech/polkadot.git"
version = "0.9.29"

[dependencies]
polkadot-cli = { path = "cli", features = [ "kusama-native", "westend-native", "rococo-native" ] }
color-eyre = { version = "0.6.1", default-features = false }
Expand All @@ -24,9 +30,6 @@ tempfile = "3.2.0"
tokio = "1.19.2"
remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" }
polkadot-core-primitives = { path = "core-primitives" }

[workspace.package]
version = "0.9.29"

[workspace]
members = [
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.workspace = true
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
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
polkadot-primitives = { path = "../primitives" }
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

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

[dependencies]
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" }
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
async-trait = "0.1.57"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

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

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[[bin]]
name = "puppet_worker"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

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

[dependencies]
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
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
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo"

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

Expand Down
6 changes: 3 additions & 3 deletions node/metered-channel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "prioritized-metered-channel"
version = "0.2.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
description = "Channels with built-in observability and message priorizitazion (coming soon™)"
repository = "https://github.com/paritytech/polkadot.git"
license = "MIT OR Apache-2.0"
authors.workspace = true
edition.workspace = true
repository.workspace = true

[dependencies]
futures = "0.3.21"
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.workspace = true
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
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
polkadot-node-primitives = { path = "../../primitives" }
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

[dependencies]
always-assert = "0.1"
Expand Down
4 changes: 2 additions & 2 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.workspace = true
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
authors.workspace = true
edition.workspace = true

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

[dependencies]
futures = "0.3.21"
Expand Down
Loading