use serde::{Deserialize, Serialize}; pub const DEFAULT_CONFIG_PATH: &str = "/etc/donquota/config.toml"; pub const DEFAULT_CLIENT_SOCKET_PATH: &str = "/run/donquota/server_client.sock"; #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct Config { /// Path to the Unix domain socket for client-server communication. /// /// If left as `None`, the server expects to be served a file descriptor to the socket named 'client'. pub client_socket_path: Option, }