add program argument for functional testing; simplify execute argument

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-08-26 21:29:00 +00:00
parent ffc41cb01f
commit fcb9d04d9e
2 changed files with 12 additions and 4 deletions

View file

@ -1,5 +1,5 @@
use std::{
collections::BTreeMap,
collections::{BTreeMap, BTreeSet},
fmt,
net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr},
path::PathBuf,
@ -361,6 +361,9 @@ pub struct Config {
#[serde(default)]
pub tokio_console: bool,
#[serde(default)]
pub test: BTreeSet<String>,
#[serde(flatten)]
#[allow(clippy::zero_sized_map_values)] // this is a catchall, the map shouldn't be zero at runtime
catchall: BTreeMap<String, IgnoredAny>,