cargo: gate telegram behind a default feature

This commit is contained in:
Lewis Wynne 2026-04-10 19:06:08 +01:00
parent de53e51c60
commit 9f0e3aae6d
6 changed files with 45 additions and 15 deletions

View file

@ -322,7 +322,9 @@ mod tests {
data_dir: PathBuf::from("./data"),
site_title: "test".into(),
#[cfg(feature = "telegram")]
telegram_bot_token: None,
#[cfg(feature = "telegram")]
telegram_chat_id: None,
enable_honeypot: true,
max_name_length: 0,