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.
28 lines
611 B
Rust
28 lines
611 B
Rust
use super::{CommonConfig, NetworkConfig};
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
mod action;
|
|
mod connect;
|
|
mod launch;
|
|
mod repl;
|
|
|
|
pub use action::*;
|
|
pub use connect::*;
|
|
pub use launch::*;
|
|
pub use repl::*;
|
|
|
|
/// Represents configuration settings for the distant client
|
|
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
|
|
pub struct ClientConfig {
|
|
#[serde(flatten)]
|
|
pub common: CommonConfig,
|
|
|
|
pub action: ClientActionConfig,
|
|
pub connect: ClientConnectConfig,
|
|
pub launch: ClientLaunchConfig,
|
|
pub repl: ClientReplConfig,
|
|
|
|
#[serde(flatten)]
|
|
pub network: NetworkConfig,
|
|
}
|