From 010e12bc6d5b8baef57fef870263be8fcb6d8a42 Mon Sep 17 00:00:00 2001 From: Philipp Korber Date: Fri, 16 Nov 2018 19:46:00 +0100 Subject: chore(MailParts) made it simpler/more understandable by removing `Embedded` type - Now `MailParts` and `BodyParts` have two arrays each one for `inline_embeddings` and one for `attachments` instead of mixing them togetther. - Now requires `Resource` instances instead of `Embedded` instances which wrap resource and add wether it's inline or attachment. --- smtp/src/request.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'smtp') diff --git a/smtp/src/request.rs b/smtp/src/request.rs index 6a17aac..2737836 100644 --- a/smtp/src/request.rs +++ b/smtp/src/request.rs @@ -176,7 +176,6 @@ mod test { }; use headers::{ headers::{_From, _To, Sender}, - header_components::{MediaType }, }; -- cgit v1.2.3