Index: Cargo.toml ================================================================== --- Cargo.toml +++ Cargo.toml @@ -21,5 +21,13 @@ tgbot = "0.46" [profile.release] lto = true codegen-units = 1 + +# All tests are moved to tests/ +[lib] +test = false + +[[bin]] +test = false +name = "smtp2tg"