From 1df5dcd7c04edb8eb2c5ed9e0b322489fc036b26 Mon Sep 17 00:00:00 2001 From: STBoyden Date: Thu, 22 Jun 2023 16:42:07 +0100 Subject: [PATCH] Add move workspace dependencies --- Cargo.toml | 2 ++ crates/codectrl-server/Cargo.toml | 4 ++-- crates/logger/Cargo.toml | 6 +++--- crates/protobuf-bindings/native/Cargo.toml | 4 ++-- crates/protobuf-bindings/web/Cargo.toml | 2 +- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 068871f..3ef8a93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,8 +37,10 @@ tokio = { version = "1.0", features = [ "sync", "time", ] } +serde = { version = "1.0", features = ["derive"] } tokio-stream = "0.1" tonic = "0.7" +uuid = { version = "1.3.4", features = ["v4", "fast-rng", "macro-diagnostics"] } [[bin]] path = "crates/core/main.rs" diff --git a/crates/codectrl-server/Cargo.toml b/crates/codectrl-server/Cargo.toml index 1540600..adc4680 100644 --- a/crates/codectrl-server/Cargo.toml +++ b/crates/codectrl-server/Cargo.toml @@ -31,13 +31,13 @@ sea-orm = { version = "0.11", features = [ "runtime-tokio-rustls", "sqlx-sqlite", ] } -serde = { version = "1.0", features = ["derive"] } +serde = { workspace = true } serde_json = "1.0" tokio = { workspace = true } tokio-stream = { workspace = true } tonic = { workspace = true } tonic-web = "0.3" -uuid = { version = "1.3.4", features = ["v4", "fast-rng", "macro-diagnostics"] } +uuid = { workspace = true } warp = "0.3.5" [[bin]] diff --git a/crates/logger/Cargo.toml b/crates/logger/Cargo.toml index 9ca3f3c..1eaade9 100644 --- a/crates/logger/Cargo.toml +++ b/crates/logger/Cargo.toml @@ -10,14 +10,14 @@ homepage.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = "1.0" +anyhow = { workspace = true } backtrace = "0.3" ciborium = "0.2" futures-util = "0.3" hashbag = "0.1.9" -serde = { version = "1.0", features = ["derive"] } +serde = { workspace = true } thiserror = "1.0" -tokio = { workspace = true} +tokio = { workspace = true } codectrl-protobuf-bindings = { workspace = true } tonic = { workspace = true } diff --git a/crates/protobuf-bindings/native/Cargo.toml b/crates/protobuf-bindings/native/Cargo.toml index 3cf6b1f..a10ce52 100644 --- a/crates/protobuf-bindings/native/Cargo.toml +++ b/crates/protobuf-bindings/native/Cargo.toml @@ -11,9 +11,9 @@ homepage.workspace = true [dependencies] prost = "0.10" -serde = { version = "1.0", features = ["derive"] } +serde = { workspace = true } tonic = { workspace = true } -uuid = { version = "1.1", features = ["v4", "fast-rng", "macro-diagnostics"]} +uuid = { workspace = true } [build-dependencies] tonic-build = "0.7" diff --git a/crates/protobuf-bindings/web/Cargo.toml b/crates/protobuf-bindings/web/Cargo.toml index 1b64f37..53943f6 100644 --- a/crates/protobuf-bindings/web/Cargo.toml +++ b/crates/protobuf-bindings/web/Cargo.toml @@ -11,7 +11,7 @@ homepage.workspace = true [dependencies] prost = "0.10" -serde = { version = "1.0", features = ["derive"] } +serde = { workspace = true } tonic = { workspace = true } uuid = { version = "1.1", features = ["v4", "fast-rng", "macro-diagnostics", "js"]}