Skip to content

Commit

Permalink
Fix build profiles (paritytech#1229)
Browse files Browse the repository at this point in the history
* Fix build profiles

Closes paritytech#1155

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Manually set version to 1.0.0

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Use workspace repo

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* 'Authors and Edition from workspace

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez authored Aug 29, 2023
1 parent c388180 commit 3471d3b
Show file tree
Hide file tree
Showing 269 changed files with 798 additions and 800 deletions.
2 changes: 1 addition & 1 deletion substrate/bin/node-template/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "4.0.0-dev"
description = "A fresh FRAME-based Substrate node, ready for hacking."
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
homepage = "https://substrate.io/"
edition = "2021"
edition.workspace = true
license = "MIT-0"
publish = false
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
Expand Down
2 changes: 1 addition & 1 deletion substrate/bin/node-template/pallets/template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "4.0.0-dev"
description = "FRAME pallet template for defining custom runtime logic."
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
homepage = "https://substrate.io"
edition = "2021"
edition.workspace = true
license = "MIT-0"
publish = false
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
Expand Down
2 changes: 1 addition & 1 deletion substrate/bin/node-template/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "4.0.0-dev"
description = "A fresh FRAME-based Substrate node, ready for hacking."
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
homepage = "https://substrate.io/"
edition = "2021"
edition.workspace = true
license = "MIT-0"
publish = false
repository = "https://github.com/substrate-developer-hub/substrate-node-template/"
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "node-bench"
version = "0.9.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Substrate node integration benchmarks."
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "node-cli"
version = "3.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Generic Substrate node implementation in Rust."
build = "build.rs"
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
default-run = "substrate-node"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

[package.metadata.wasm-pack.profile.release]
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "node-executor"
version = "3.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Substrate node implementation in Rust."
edition = "2021"
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/inspect/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "node-inspect"
version = "0.9.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Substrate node block inspection tool."
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "node-primitives"
version = "2.0.0"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Substrate node low-level primitives."
edition = "2021"
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "node-rpc"
version = "3.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Substrate node rpc methods."
edition = "2021"
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "kitchensink-runtime"
version = "3.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Substrate node kitchensink runtime."
edition = "2021"
edition.workspace = true
build = "build.rs"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/node/testing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "node-testing"
version = "3.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Test utilities for Substrate node."
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/utils/chain-spec-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "chain-spec-builder"
version = "2.0.0"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
readme = "README.md"
publish = false

Expand Down
6 changes: 3 additions & 3 deletions substrate/bin/utils/subkey/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "subkey"
version = "3.0.0"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Generate and restore keys for Substrate based chains such as Polkadot, Kusama and a growing number of parachains and Substrate based projects."
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
readme = "README.md"

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/allocator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "sc-allocator"
version = "4.1.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
description = "Collection of allocator implementations."
documentation = "https://docs.rs/sc-allocator"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "sc-client-api"
version = "4.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
description = "Substrate client interfaces."
documentation = "https://docs.rs/sc-client-api"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/authority-discovery/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "sc-authority-discovery"
version = "0.10.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
build = "build.rs"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
description = "Substrate authority discovery."
readme = "README.md"

Expand Down
6 changes: 3 additions & 3 deletions substrate/client/basic-authorship/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "sc-basic-authorship"
version = "0.10.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
description = "Basic implementation of block-authoring logic."
readme = "README.md"

Expand Down
6 changes: 3 additions & 3 deletions substrate/client/block-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "sc-block-builder"
version = "0.10.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
description = "Substrate block builder"
readme = "README.md"

Expand Down
6 changes: 3 additions & 3 deletions substrate/client/chain-spec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "sc-chain-spec"
version = "4.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
description = "Substrate chain configurations."
readme = "README.md"

Expand Down
6 changes: 3 additions & 3 deletions substrate/client/chain-spec/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
description = "Macros to derive chain spec extension traits implementation."

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "sc-cli"
version = "0.10.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Substrate CLI interface."
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
readme = "README.md"

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/consensus/aura/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "sc-consensus-aura"
version = "0.10.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "Aura consensus algorithm for substrate"
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
readme = "README.md"

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/consensus/babe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "sc-consensus-babe"
version = "0.10.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "BABE consensus algorithm for substrate"
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
documentation = "https://docs.rs/sc-consensus-babe"
readme = "README.md"

Expand Down
6 changes: 3 additions & 3 deletions substrate/client/consensus/babe/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
authors = ["Parity Technologies <[email protected]>"]
authors.workspace = true
description = "RPC extensions for the BABE consensus algorithm"
edition = "2021"
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
repository.workspace = true
readme = "README.md"

[package.metadata.docs.rs]
Expand Down
6 changes: 3 additions & 3 deletions substrate/client/consensus/beefy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "sc-consensus-beefy"
version = "4.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
repository = "https://github.com/paritytech/substrate"
repository.workspace = true
description = "BEEFY Client gadget for substrate"
homepage = "https://substrate.io"

Expand Down
6 changes: 3 additions & 3 deletions substrate/client/consensus/beefy/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "sc-consensus-beefy-rpc"
version = "4.0.0-dev"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
repository = "https://github.com/paritytech/substrate"
repository.workspace = true
description = "RPC for the BEEFY Client gadget for substrate"
homepage = "https://substrate.io"

Expand Down
Loading

0 comments on commit 3471d3b

Please sign in to comment.