From 3e814cb41a75f409496e60aee71d4ca4dc7803ff Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 22 Jan 2025 06:25:09 -0800 Subject: [PATCH] settings: add directories dep --- Cargo.lock | 39 ++++++++++++++++++++++++++++++++++++++ engine/settings/Cargo.toml | 1 + 2 files changed, 40 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 396e9eb9d..73b1e0d96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -493,6 +493,27 @@ dependencies = [ "num-traits", ] +[[package]] +name = "directories" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16f5094c54661b38d03bd7e50df373292118db60b585c08a411c6d840017fe7d" +dependencies = [ + "dirs-sys", +] + +[[package]] +name = "dirs-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" +dependencies = [ + "libc", + "option-ext", + "redox_users", + "windows-sys 0.59.0", +] + [[package]] name = "dispatch" version = "0.2.0" @@ -1588,6 +1609,12 @@ version = "1.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +[[package]] +name = "option-ext" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" + [[package]] name = "orbclient" version = "0.3.48" @@ -1997,6 +2024,17 @@ dependencies = [ "bitflags 2.8.0", ] +[[package]] +name = "redox_users" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd6f9d3d47bdd2ad6945c5015a226ec6155d0bcdfd8f7cd29f86b71f8de99d2b" +dependencies = [ + "getrandom", + "libredox", + "thiserror 2.0.11", +] + [[package]] name = "regex" version = "1.11.1" @@ -2358,6 +2396,7 @@ name = "strafesnet_settings" version = "0.1.0" dependencies = [ "configparser", + "directories", "glam", "strafesnet_common", ] diff --git a/engine/settings/Cargo.toml b/engine/settings/Cargo.toml index 8bf59f070..b623aff58 100644 --- a/engine/settings/Cargo.toml +++ b/engine/settings/Cargo.toml @@ -5,5 +5,6 @@ edition = "2021" [dependencies] configparser = "3.0.2" +directories = "6.0.0" glam = "0.29.0" strafesnet_common = { path = "../../lib/common", registry = "strafesnet" }