diff --git a/Cargo.toml b/Cargo.toml index 70609bf..61df654 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,28 @@ members = [ "mountix-driver", "mountix-kernel" ] + +[workspace.package] +name = "mountix" +version = "1.2.0" +edition = "2021" + +[workspace.dependencies] +anyhow = "1.0.98" +async-trait = "0.1.88" +tokio = { version = "1.45.1", features = ["full"] } +serde = { version = "1.0.219", features = ["derive"] } +dotenvy = "0.15.7" +futures = "0.3.31" +mongodb = "3.2.3" +num = "0.4.3" +axum = "0.8.4" +tracing = "0.1.41" +tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] } +tower = "0.5.2" +tower-http = { version = "0.6.6", features = ["cors", "trace"] } +regex = "1.11.1" +tokio-test = "0.4.4" +mockall = "0.13.0" +hyper = "1.6.0" +serde_json = "1.0.140" diff --git a/mountix-adapter/Cargo.toml b/mountix-adapter/Cargo.toml index 36febfa..950fe9d 100644 --- a/mountix-adapter/Cargo.toml +++ b/mountix-adapter/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "mountix-adapter" -version = "1.2.0" -edition = "2021" +version.workspace = true +edition.workspace = true [dependencies] mountix-kernel = { path = "../mountix-kernel" } -anyhow = "1.0.98" -async-trait = "0.1.88" -dotenvy = "0.15.7" -tokio = { version = "1.45.1", features = ["full"] } -serde = { version = "1.0.219", features = ["derive"] } -futures = "0.3.31" -mongodb = "3.2.3" +anyhow = { workspace = true } +async-trait = { workspace = true } +dotenvy = { workspace = true } +tokio = { workspace = true } +serde = { workspace = true } +futures = { workspace = true } +mongodb = { workspace = true } [dev-dependencies] -tokio-test = "0.4.4" -mockall = "0.13.0" +tokio-test = { workspace = true } +mockall = { workspace = true } diff --git a/mountix-app/Cargo.toml b/mountix-app/Cargo.toml index 93c30fd..f1f4a90 100644 --- a/mountix-app/Cargo.toml +++ b/mountix-app/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "mountix-app" -version = "1.2.0" -edition = "2021" +version.workspace = true +edition.workspace = true [dependencies] mountix-kernel = { path = "../mountix-kernel" } mountix-adapter = { path = "../mountix-adapter" } -anyhow = "1.0.98" -tokio = { version = "1.45.1", features = ["full"] } -num = "0.4.3" -async-trait = "0.1.88" +anyhow = { workspace = true } +tokio = { workspace = true } +num = { workspace = true } +async-trait = { workspace = true } [dev-dependencies] -tokio-test = "0.4.4" -mockall = "0.13.0" +tokio-test = { workspace = true } +mockall = { workspace = true } diff --git a/mountix-driver/Cargo.toml b/mountix-driver/Cargo.toml index a002007..c4ec68b 100644 --- a/mountix-driver/Cargo.toml +++ b/mountix-driver/Cargo.toml @@ -1,25 +1,25 @@ [package] name = "mountix-driver" -version = "1.2.0" -edition = "2021" +version.workspace = true +edition.workspace = true [dependencies] mountix-kernel = { path = "../mountix-kernel" } mountix-app = { path = "../mountix-app" } mountix-adapter = { path = "../mountix-adapter" } -axum = "0.8.4" -anyhow = "1.0.98" -tokio = { version = "1.45.1", features = ["full"] } -serde = { version = "1.0.219", features = ["derive"] } -tracing = "0.1.41" -tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] } -dotenvy = "0.15.7" -tower = "0.5.2" -tower-http = { version = "0.6.6", features = ["cors", "trace"] } +axum = { workspace = true } +anyhow = { workspace = true } +tokio = { workspace = true } +serde = { workspace = true } +tracing = { workspace = true } +tracing-subscriber = { workspace = true } +dotenvy = { workspace = true } +tower = { workspace = true } +tower-http = { workspace = true } [dev-dependencies] -tokio-test = "0.4.4" -mockall = "0.13.0" -tower = "0.5.2" -hyper = "1.6.0" -serde_json = "1.0.140" +tokio-test = { workspace = true } +mockall = { workspace = true } +tower = { workspace = true } +hyper = { workspace = true } +serde_json = { workspace = true } diff --git a/mountix-kernel/Cargo.toml b/mountix-kernel/Cargo.toml index 5446ddb..6a0af5a 100644 --- a/mountix-kernel/Cargo.toml +++ b/mountix-kernel/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "mountix-kernel" -version = "1.2.0" -edition = "2021" +version.workspace = true +edition.workspace = true [dependencies] -anyhow = "1.0.98" -async-trait = "0.1.88" -serde = { version = "1.0.219", features = ["derive"] } -regex = "1.11.1" +anyhow = { workspace = true } +async-trait = { workspace = true } +serde = { workspace = true } +regex = { workspace = true } [dev-dependencies] -tokio-test = "0.4.4" +tokio-test = { workspace = true }