diff --git a/src/args.rs b/src/args.rs index 00132fb..71f92ec 100644 --- a/src/args.rs +++ b/src/args.rs @@ -129,7 +129,7 @@ pub struct OptionsArgs { #[arg(short, long, action = clap::ArgAction::Count, conflicts_with("quiet"))] #[arg(help("Increase message verbosity, can be given more than once"))] - pub verbose: u8, + pub(crate) verbose: u8, #[arg(short, long)] #[arg(help("Do not show any messages"))] diff --git a/src/config.rs b/src/config.rs index f17eb1c..7d79d10 100644 --- a/src/config.rs +++ b/src/config.rs @@ -37,7 +37,7 @@ pub struct Settings { pub list_format: Vec, pub human_readable: bool, pub output_format: Option, - pub verbose: u8, + pub(crate) verbose: u8, pub quiet: bool, pub force: bool, pub server: Option, diff --git a/src/modes/server/common.rs b/src/modes/server/common.rs index 0ab5fe8..2c2367b 100644 --- a/src/modes/server/common.rs +++ b/src/modes/server/common.rs @@ -28,8 +28,8 @@ pub struct ServerConfig { pub struct AppState { pub db: Arc>, pub data_dir: PathBuf, - pub(crate) password: Option, - pub(crate) password_hash: Option, + password: Option, + password_hash: Option, } #[derive(Serialize, Deserialize, ToSchema)]