change visibility

This commit is contained in:
naskya 2024-06-21 10:39:53 +09:00
parent ec627458d2
commit a4f45eb5aa
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -6,9 +6,9 @@ use enum_iterator::Sequence;
use serde_repr::{Deserialize_repr, Serialize_repr}; use serde_repr::{Deserialize_repr, Serialize_repr};
use validator::ValidationError; use validator::ValidationError;
pub const SERVER_CONFIG_PATH: &str = "config/server.toml"; pub(crate) const SERVER_CONFIG_PATH: &str = "config/server.toml";
pub const CLIENT_CONFIG_PATH: &str = "config/client.toml"; pub(crate) const CLIENT_CONFIG_PATH: &str = "config/client.toml";
pub const OLD_CONFIG_PATH: &str = ".config/default.yml"; pub(crate) const OLD_CONFIG_PATH: &str = ".config/default.yml";
#[derive(Deserialize_repr, Serialize_repr, PartialEq, Clone, ValueEnum, Sequence, Debug)] #[derive(Deserialize_repr, Serialize_repr, PartialEq, Clone, ValueEnum, Sequence, Debug)]
#[clap(rename_all = "lowercase")] #[clap(rename_all = "lowercase")]