Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit a01c530

Browse files
committed
Define common crates metadata on the workspace level
1 parent f78cb2b commit a01c530

File tree

26 files changed

+158
-100
lines changed

26 files changed

+158
-100
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ default-members = ["crates/cli"]
33
members = ["crates/*"]
44
resolver = "2"
55

6+
[workspace.package]
7+
version = "0.1.0"
8+
license = "Apache-2.0"
9+
authors = ["Quentin Gliech <[email protected]>"]
10+
edition = "2021"
11+
homepage = "https://matrix-org.github.io/matrix-authentication-service/"
12+
repository = "https://github.com/matrix-org/matrix-authentication-service/"
13+
614
[workspace.dependencies]
715

816
# High-level error handling

crates/axum-utils/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-axum-utils"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
async-trait = "0.1.73"

crates/cli/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-cli"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
anyhow.workspace = true

crates/config/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-config"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
tokio = { version = "1.32.0", features = ["fs", "rt"] }

crates/data-model/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-data-model"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
chrono.workspace = true

crates/email/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-email"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
async-trait = "0.1.73"

crates/graphql/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-graphql"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
anyhow.workspace = true

crates/handlers/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-handlers"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
# Async runtime

crates/http/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-http"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
axum = { version = "0.6.20", optional = true }

crates/iana-codegen/Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "mas-iana-codegen"
3-
version = "0.1.0"
4-
authors = ["Quentin Gliech <[email protected]>"]
5-
edition = "2021"
6-
license = "Apache-2.0"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
anyhow.workspace = true

0 commit comments

Comments
 (0)