feat(all): Merge lettre_email into lettre with a builder feature

This commit is contained in:
mibac138
2019-11-29 20:20:28 +01:00
parent eb026838e3
commit 0f3f27fdb6
44 changed files with 95 additions and 144 deletions

View File

@@ -34,21 +34,18 @@ Lettre provides the following features:
## Example
This library requires Rust 1.34 or newer.
This library requires Rust 1.36 or newer.
To use this library, add the following to your `Cargo.toml`:
```toml
[dependencies]
lettre = "0.9"
lettre_email = "0.9"
```
```rust,no_run
extern crate lettre;
extern crate lettre_email;
use lettre::{SmtpClient, Transport};
use lettre_email::{Email, mime::TEXT_PLAIN};
use lettre::{SmtpClient, Transport, Email, mime::TEXT_PLAIN};
use std::path::Path;
fn main() {