From 60500d92356b89c414ca39f0f4877ab5b8772cad Mon Sep 17 00:00:00 2001 From: Songtronix Date: Tue, 4 Jun 2019 21:57:13 +0200 Subject: [PATCH] add discord feature with dependencies --- voxygen/Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/voxygen/Cargo.toml b/voxygen/Cargo.toml index e7a12b5689..fcdf5f37be 100644 --- a/voxygen/Cargo.toml +++ b/voxygen/Cargo.toml @@ -7,6 +7,7 @@ default-run = "veloren-voxygen" [features] gl = ["gfx_device_gl"] +discord = ["discord_game_sdk", "chrono"] default = ["gl"] @@ -31,6 +32,10 @@ specs = "0.14" # Mathematics vek = "0.9" +# discord +discord_game_sdk = { version = "0.2.0", optional = true } +chrono = { version = "0.4.6", optional = true } + # Utility glsl-include = "0.3" failure = "0.1"