From f99165e452317f0f4015672a54e02fda92904d3b Mon Sep 17 00:00:00 2001 From: xeon Date: Sun, 4 Aug 2024 16:20:31 +0300 Subject: [PATCH] chore: move new dependencies to workspace's Cargo.toml --- Cargo.toml | 2 ++ nap_data/Cargo.toml | 4 ++-- nap_gameserver/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index db17799..d18c417 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,8 @@ tokio-util = { version = "0.7.10", features = ["io"] } # Serialization serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.114" +jsonc-parser = { version = "0.23.0", features = ["serde"] } +chrono = { version = "0.4.38", features = ["serde"] } toml = "0.8.4" rbase64 = "2.0.3" prost = "0.12.3" diff --git a/nap_data/Cargo.toml b/nap_data/Cargo.toml index cd7aced..2632367 100644 --- a/nap_data/Cargo.toml +++ b/nap_data/Cargo.toml @@ -7,6 +7,8 @@ version.workspace = true # Serialization serde.workspace = true serde_json.workspace = true +jsonc-parser.workspace = true +chrono.workspace = true prost.workspace = true # Util @@ -18,5 +20,3 @@ tracing.workspace = true # Internal proto.workspace = true -jsonc-parser = { version = "0.23.0", features = ["serde"] } -chrono = { version = "0.4.38", features = ["serde"] } diff --git a/nap_gameserver/Cargo.toml b/nap_gameserver/Cargo.toml index f949cbe..2d62a6a 100644 --- a/nap_gameserver/Cargo.toml +++ b/nap_gameserver/Cargo.toml @@ -15,6 +15,7 @@ rbase64.workspace = true toml.workspace = true serde.workspace = true serde_json.workspace = true +chrono.workspace = true # Database sqlx.workspace = true @@ -41,4 +42,3 @@ tracing-bunyan-formatter.workspace = true common.workspace = true data.workspace = true proto.workspace = true -chrono = { version = "0.4.38", features = ["serde"] }