From a5199a966a11b1f1caabfb12e3fa6c4561fa9f60 Mon Sep 17 00:00:00 2001 From: maxicarlos08 Date: Thu, 16 Nov 2023 21:47:44 +0100 Subject: [PATCH] Include required serde feature for enum-map in veloren-common This previously broke torvus builds, but worked fine for builds here since veloren-rtsim enabled the serde feature. --- common/Cargo.toml | 2 +- voxygen/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/Cargo.toml b/common/Cargo.toml index 8bd0f8f5ea..c889e6d8f1 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -26,7 +26,7 @@ common-base = { package = "veloren-common-base", path = "base" } serde = { workspace = true, features = ["rc"] } # Util -enum-map = "2.4" +enum-map = { workspace = true, features = ["serde"] } vek = { workspace = true } chrono = { workspace = true } chrono-tz = { workspace = true } diff --git a/voxygen/Cargo.toml b/voxygen/Cargo.toml index 883d1d7adf..a1137cb1df 100644 --- a/voxygen/Cargo.toml +++ b/voxygen/Cargo.toml @@ -130,7 +130,7 @@ itertools = { workspace = true } # Discord RPC discord-sdk = { version = "0.3.0", optional = true } -enum-map = "2.5.0" +enum-map = { workspace = true } [target.'cfg(target_os = "macos")'.dependencies] dispatch = "0.1.4"