diff options
Diffstat (limited to 'mail/Cargo.toml')
-rw-r--r-- | mail/Cargo.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/Cargo.toml b/mail/Cargo.toml index b1db32f..2a3a25f 100644 --- a/mail/Cargo.toml +++ b/mail/Cargo.toml @@ -9,6 +9,7 @@ description = "mail, facade for a number of mail related crates for creating and license = "MIT OR Apache-2.0" readme = "./README.md" repository = "https://github.com/1aim/mail" +autoexamples = false [features] smtp = ["mail-smtp"] @@ -20,6 +21,16 @@ smtp = ["mail-smtp"] traceing = ["mail-internals/traceing", "mail-headers/traceing"] test-utils = ["mail-core/test-utils"] +# [[example]] +# name = "mail-from_template" +# crate-type = ["bin"] +# path = "examples/mail_from_template/main.rs" +# required-feature = ["render-template-engine", "tera-engine"] + +[[example]] +name = "send_mail" +crate-type = ["bin"] +path = "examples/send_mail/main.rs" [dependencies] mail-internals = { path="../internals" } |