From a4f45eb5aa2442ea03c1ad3bbb95c36f9c9a866e Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 21 Jun 2024 10:39:53 +0900 Subject: [PATCH] change visibility --- src/config/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index c9a4a73..2d40fc9 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -6,9 +6,9 @@ use enum_iterator::Sequence; use serde_repr::{Deserialize_repr, Serialize_repr}; use validator::ValidationError; -pub const SERVER_CONFIG_PATH: &str = "config/server.toml"; -pub const CLIENT_CONFIG_PATH: &str = "config/client.toml"; -pub const OLD_CONFIG_PATH: &str = ".config/default.yml"; +pub(crate) const SERVER_CONFIG_PATH: &str = "config/server.toml"; +pub(crate) const CLIENT_CONFIG_PATH: &str = "config/client.toml"; +pub(crate) const OLD_CONFIG_PATH: &str = ".config/default.yml"; #[derive(Deserialize_repr, Serialize_repr, PartialEq, Clone, ValueEnum, Sequence, Debug)] #[clap(rename_all = "lowercase")]