test: add tests for scootaloo alt services + regexp

This commit is contained in:
VC
2022-11-24 08:00:43 +01:00
parent 9227850c99
commit 9cafa2bf07
6 changed files with 111 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ pub struct ScootalooConfig {
pub db_path: String,
pub cache_path: String,
pub rate_limit: Option<usize>,
pub show_url_as_display_url_for: Option<String>,
pub alternative_services_for: Option<HashMap<String, String>>,
}
/// Parses the TOML file into a Config Struct