diff options
Diffstat (limited to 'mail/Cargo.toml')
-rw-r--r-- | mail/Cargo.toml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/mail/Cargo.toml b/mail/Cargo.toml new file mode 100644 index 0000000..2a3a25f --- /dev/null +++ b/mail/Cargo.toml @@ -0,0 +1,53 @@ +[package] +name = "mail" +version = "0.1.0" +authors = ["Philipp Korber <philippkorber@gmail.com>"] +categories = [] +#TODO go through the keywords +keywords = ["mail", "rfc5322", "email", "mime", "smtp", "template"] +description = "mail, facade for a number of mail related crates for creating and sending mails" +license = "MIT OR Apache-2.0" +readme = "./README.md" +repository = "https://github.com/1aim/mail" +autoexamples = false + +[features] +smtp = ["mail-smtp"] +#askama-engine = ["mail-template/askama-engine"] +#tera-engine = ["render-template-engine", "mail-render-template-engine/tera-engine"] +#handlebars-engine = ["render-template-engine", "mail-render-template-engine/handlebars-engine"] +#render-template-engine = ["mail-render-template-engine"] + +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" } +mail-headers = { path="../headers" } +mail-core = { path="../core" } +#mail-template = { git="https://github.com/1aim/mail-template" } +#mail-derive = { git="https://github.com/1aim/mail-derive" } +mail-smtp = { path="../smtp", optional=true } +#mail-render-template-engine = {git="https://github.com/1aim/mail-render-template-engine", optional=true } + +[dev-dependencies] +rpassword = "2.0.0" +tokio = "0.1.1" +serde = "1.0.10" +serde_derive = "1.0.10" +soft-ascii-string = "1.0" +futures = "0.1.0" +failure = "0.1.1" + + |