Skip to content

Commit b2a2301

Browse files
committed
Add Cargo package metada and share it via workspace
1 parent a388186 commit b2a2301

File tree

8 files changed

+49
-12
lines changed

8 files changed

+49
-12
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,11 @@ members = [
1111
"mithril-signer",
1212
"mithril-test-lab/mithril-end-to-end"
1313
]
14+
15+
[workspace.package]
16+
authors = ["[email protected]"]
17+
documentation = "https://mithril.network/doc"
18+
edition = "2021"
19+
homepage = "https://mithril.network"
20+
license = "Apache-2.0"
21+
repository = "https://github.com/input-output-hk/mithril/"

demo/protocol-demo/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
[package]
22
name = "mithrildemo"
33
version = "0.1.0"
4-
edition = "2021"
5-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
4+
authors = { workspace = true }
5+
edition = { workspace = true }
6+
documentation = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
repository = { workspace = true }
610

711
[dependencies]
812
base64 = "0.13.0"

mithril-aggregator/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
[package]
22
name = "mithril-aggregator"
33
version = "0.1.0"
4-
edition = "2021"
54
description = "A Mithril Aggregator server"
6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
5+
authors = { workspace = true }
6+
edition = { workspace = true }
7+
documentation = { workspace = true }
8+
homepage = { workspace = true }
9+
license = { workspace = true }
10+
repository = { workspace = true }
711

812
[dependencies]
913
async-trait = "0.1.52"

mithril-client/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
[package]
22
name = "mithril-client"
33
version = "0.1.0"
4-
edition = "2021"
54
description = "A Mithril Client"
6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
5+
authors = { workspace = true }
6+
edition = { workspace = true }
7+
documentation = { workspace = true }
8+
homepage = { workspace = true }
9+
license = { workspace = true }
10+
repository = { workspace = true }
711

812
[dependencies]
913
async-trait = "0.1.52"

mithril-common/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
[package]
22
name = "mithril-common"
33
version = "0.1.0"
4-
edition = "2021"
5-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
4+
authors = { workspace = true }
5+
edition = { workspace = true }
6+
documentation = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
repository = { workspace = true }
610

711
[lib]
812
crate-type = ["lib", "cdylib", "staticlib"]

mithril-core/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
name = "mithril"
33
version = "0.1.0"
44
edition = "2018"
5+
authors = { workspace = true }
6+
documentation = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
repository = { workspace = true }
510

611
[dependencies]
712
blake2 = "0.10.4"

mithril-signer/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
[package]
22
name = "mithril-signer"
33
version = "0.1.0"
4-
edition = "2021"
54
description = "A Mithril Signer"
6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
5+
authors = { workspace = true }
6+
edition = { workspace = true }
7+
documentation = { workspace = true }
8+
homepage = { workspace = true }
9+
license = { workspace = true }
10+
repository = { workspace = true }
711

812
[dependencies]
913
async-trait = "0.1.52"

mithril-test-lab/mithril-end-to-end/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
[package]
22
name = "mithril-end-to-end"
33
version = "0.1.0"
4-
edition = "2021"
5-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
4+
authors = { workspace = true }
5+
edition = { workspace = true }
6+
documentation = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
repository = { workspace = true }
610

711
[dependencies]
812
async-trait = "0.1.52"

0 commit comments

Comments
 (0)