experimental h3 toml config support

This commit is contained in:
Jun Kurihara 2022-07-05 19:30:28 +09:00
commit 7283137343
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
6 changed files with 29 additions and 0 deletions

View file

@ -13,6 +13,12 @@ pub struct ConfigToml {
pub max_clients: Option<u32>,
pub apps: Option<Apps>,
pub default_app: Option<String>,
pub experimental: Option<Experimental>,
}
#[derive(Deserialize, Debug, Default)]
pub struct Experimental {
pub h3: Option<bool>,
}
#[derive(Deserialize, Debug, Default)]