cargo: gate telegram behind a default feature
This commit is contained in:
parent
de53e51c60
commit
9f0e3aae6d
6 changed files with 45 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue