mirror of
https://github.com/htrefil/rkvm.git
synced 2025-01-17 06:11:30 +01:00
13 lines
349 B
Rust
13 lines
349 B
Rust
use serde::{Deserialize, Serialize};
|
|
use std::collections::HashSet;
|
|
use std::net::SocketAddr;
|
|
use std::path::PathBuf;
|
|
|
|
#[derive(Serialize, Deserialize)]
|
|
#[serde(rename_all = "kebab-case")]
|
|
pub struct Config {
|
|
pub listen_address: SocketAddr,
|
|
pub switch_keys: HashSet<u16>,
|
|
pub identity_path: PathBuf,
|
|
pub identity_password: String,
|
|
}
|