From 866c804ef3fdef78c53f098eb4b5fb50f6590d3c Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Sun, 20 May 2018 00:03:28 +0200 Subject: [PATCH] docs(all): README should not use external crates --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index ecf24cd..1080a39 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,6 @@ lettre_email = "0.8" ```rust,no_run extern crate lettre; extern crate lettre_email; -extern crate mime; use lettre::{EmailTransport, SmtpTransport}; use lettre_email::EmailBuilder; @@ -60,7 +59,6 @@ fn main() { .from("user@example.com") .subject("Hi, Hello world") .text("Hello world.") - .attachment(Path::new("Cargo.toml"), None, &mime::TEXT_PLAIN).unwrap() .build() .unwrap();