Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use workspace properties #226

Merged
merged 2 commits into from
Sep 23, 2023
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
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
panic = 'unwind'
split-debuginfo = "unpacked"

[workspace.package]
authors = ["imbue <https://github.com/ImbueNetwork>"]
edition = "2021"
repository = "https://github.com/ImbueNetwork/imbue/"
license = "Apache 2.0"

[workspace]
resolver = "2"

members = [
'node',
"pallets/proposals",
Expand Down
10 changes: 4 additions & 6 deletions libs/common-traits/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[package]
name = "common-traits"
authors = ['imbue <https://github.com/ImbueNetwork>']
description = 'Common traits for Imbue runtime'
edition = '2018'
homepage = 'https://imbue.network'
license = "LGPL-3.0"
repository = 'https://github.com/ImbueNetwork/imbue'
version = '0.1.0'
resolver = "2"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
11 changes: 5 additions & 6 deletions libs/common-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[package]
name = "common-types"
authors = ['imbue <https://github.com/ImbueNetwork>']
description = 'Common types for Imbue runtime'
edition = '2018'
homepage = 'https://imbue.network'
license = "LGPL-3.0"
repository = 'https://github.com/ImbueNetwork/imbue'
description = 'Common types for Imbue runtime'
version = '0.1.0'
resolver = "2"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
9 changes: 4 additions & 5 deletions libs/proofs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[package]
name = 'proofs'
authors = ['imbue <https://github.com/ImbueNetwork>']
edition = '2018'
homepage = 'https://imbue.network'
license = "LGPL-3.0"
repository = 'https://github.com/ImbueNetwork/imbue'
version = '0.1.0'
resolver = "2"
repository.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
14 changes: 6 additions & 8 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
[package]
authors = ['imbue <https://github.com/ImbueNetwork>']
name = 'imbue'
build = 'build.rs'
description = ''
edition = '2018'
homepage = 'https://imbue.network'
license = 'Apache 2.0'
name = 'imbue'
repository = 'https://github.com/ImbueNetwork/imbue/'
version = '2.0.0'
description = 'build'
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']

[[bin]]
name = 'imbue'



[dependencies]
async-trait = "0.1.57"
clap = { version = "4.1.6", features = ["derive"] }
Expand Down
10 changes: 5 additions & 5 deletions pallets/briefs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "pallet-briefs"
authors = ['Imbue <https://github.com/ImbueNetwork>']
description = "Briefs pallet is used to create a piece of work (briefs) to be done by a freelancer"
version = '0.1.0'
license = 'Apache 2.0'
homepage = 'https://github.com/ImbueNetwork/imbue'
repository = "https://github.com/ImbueNetwork/imbue"
edition = '2018'
version = '0.1.0'
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
8 changes: 4 additions & 4 deletions pallets/crowdfunding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
name = "pallet-crowdfunding"
version = "0.1.0"
description = "Used to setup the state for a proposal to morph into a project."
authors = ['Imbue <https://github.com/ImbueNetwork>']
homepage = 'https://github.com/ImbueNetwork/imbue'
edition = "2021"
license = 'Apache 2.0'
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
publish = false
repository = 'https://github.com/ImbueNetwork/imbue'

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
8 changes: 4 additions & 4 deletions pallets/deposits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
name = "pallet-deposits"
version = "4.0.0-dev"
description = "A very simple pallet used to deal with storage deposits of a type."
authors = ["Imbue Network"]
homepage = 'https://github.com/ImbueNetwork/imbue'
repository = "https://github.com/ImbueNetwork/imbue"
edition = "2021"
license = 'Apache 2.0'
authors.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
11 changes: 5 additions & 6 deletions pallets/fellowship/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[package]
name = "pallet-fellowship"
version = "0.1.0"
description = "Used to map the accounts to a fellowship role. Encompasses all the functionality associated with fellowship decisions."
authors = ["Substrate DevHub <https://github.com/substrate-developer-hub>"]
license = 'Apache 2.0'
version = "0.1.0"
homepage = 'https://github.com/ImbueNetwork/imbue'
repository = "https://github.com/ImbueNetwork/imbue"
edition = '2018'
resolver = "2"
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
10 changes: 5 additions & 5 deletions pallets/grants/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "pallet-grants"
version = "0.1.0"
description = "The pallet that sets up a milestone based project in a grant like style."
authors = ["Imbue Network"]
homepage = 'https://github.com/ImbueNetwork/imbue'
repository = "https://github.com/ImbueNetwork/imbue"
edition = "2021"
license = 'Apache 2.0'
version = "0.1.0"
authors.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
publish = false

[package.metadata.docs.rs]
Expand Down
10 changes: 4 additions & 6 deletions pallets/proposals/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[package]
name = "pallet-proposals"
authors = ['Imbue <https://github.com/ImbueNetwork>']
description = "Proposals pallet is used for creating on chain funding propositions"
version = '3.1.0'
license = 'Apache 2.0'
homepage = 'https://substrate.dev'
repository = "https://github.com/ImbueNetwork/imbue"
edition = '2018'
resolver = "2"
authors.workspace = true
license.workspace = true
repository.workspace = true
edition.workspace = true

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
5 changes: 4 additions & 1 deletion pallets/proposals/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "pallet-proposals-rpc"
version = "0.1.0"
edition = "2021"
edition.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
Expand Down
5 changes: 4 additions & 1 deletion pallets/proposals/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "pallet-proposals-rpc-runtime-api"
version = "0.1.0"
edition = "2021"
edition.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
10 changes: 5 additions & 5 deletions runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
authors = ['imbue <https://github.com/ImbueNetwork>']
edition = '2018'
homepage = 'https://imbue.network'
license = 'Apache 2.0'
name = 'common-runtime'
repository = 'https://github.com/ImbueNetwork/imbue/'
homepage = 'https://imbue.network'
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version = '2.0.0'

[package.metadata.docs.rs]
Expand Down
9 changes: 4 additions & 5 deletions runtime/imbue-kusama/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[package]
authors = ['imbue <https://github.com/ImbueNetwork>']
edition = '2018'
homepage = 'https://imbue.network'
license = 'Apache 2.0'
name = 'imbue-kusama-runtime'
repository = 'https://github.com/ImbueNetwork/imbue/'
version = '2.0.0'
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
10 changes: 4 additions & 6 deletions runtime/integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[package]
name = "runtime-integration-tests"
version = "0.1.0"
authors = ["Imbue <contact@imbue.network>"]
edition = "2021"
license = "LGPL-3.0"
homepage = "https://imbue.network"
repository = "https://github.com/ImbueNetwork/imbue"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
# Substrate
Expand Down
Loading