make device sub-key default

This commit is contained in:
Hailey Somerville 2023-12-27 11:09:06 +11:00
parent e2fe6cc5a3
commit 04cddc8e4b

View file

@ -15,12 +15,14 @@ pub struct Config {
#[derive(Deserialize, Default)]
pub struct Source {
#[serde(default)]
input: Device,
delay_ms: Option<u64>,
}
#[derive(Deserialize, Default)]
pub struct Receive {
#[serde(default)]
output: Device,
}