mirror of https://github.com/chipsenkbeil/distant
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.
20 lines
425 B
Rust
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,
|
|
}
|