You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
distant/src/options/config/server.rs

20 lines
425 B
Rust

use serde::{Deserialize, Serialize};
use super::common::LoggingSettings;
mod listen;
mod watch;
pub use listen::*;
pub use watch::*;
/// Represents configuration settings for the distant server
#[derive(Clone, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]
pub struct ServerConfig {
#[serde(flatten)]
pub logging: LoggingSettings,
pub listen: ServerListenConfig,
pub watch: ServerWatchConfig,
}