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.
26 lines
566 B
Rust
26 lines
566 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
use super::common::{self, LoggingSettings, NetworkSettings};
|
|
|
|
mod api;
|
|
mod connect;
|
|
mod launch;
|
|
|
|
pub use api::*;
|
|
pub use connect::*;
|
|
pub use launch::*;
|
|
|
|
/// Represents configuration settings for the distant client
|
|
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
|
|
pub struct ClientConfig {
|
|
#[serde(flatten)]
|
|
pub logging: LoggingSettings,
|
|
|
|
#[serde(flatten)]
|
|
pub network: NetworkSettings,
|
|
|
|
pub api: ClientApiConfig,
|
|
pub connect: ClientConnectConfig,
|
|
pub launch: ClientLaunchConfig,
|
|
}
|