From 10171f8c757258be2b030532cd549720fe17af85 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Wed, 29 Jun 2022 21:17:37 +0200 Subject: [PATCH] Prepare 0.10.0 release (#538) --- CHANGELOG.md | 1 + Cargo.toml | 2 +- README.md | 26 +++++++++----------------- src/lib.rs | 2 +- 4 files changed, 12 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 33ff699..7c73537 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Several breaking changes were made between 0.9 and 0.10, but changes should be s * Refactor `TlsParameters` implementation to not expose the internal TLS library * `FileTransport` writes emails into `.eml` instead of `.json` * When the hostname feature is disabled or hostname cannot be fetched, `127.0.0.1` is used instead of `localhost` as EHLO parameter (for better RFC compliance and mail server compatibility) +* The `sendmail` and `file` transports aren't enabled by default anymore. * The `new` method of `ClientId` is deprecated * Rename `serde-impls` feature to `serde` * The `SendmailTransport` now uses the `sendmail` command in current `PATH` by default instead of diff --git a/Cargo.toml b/Cargo.toml index 5f4f7e3..6b87158 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "lettre" # remember to update html_root_url and README.md (Cargo.toml example and deps.rs badge) -version = "0.10.0-rc.7" +version = "0.10.0" description = "Email client" readme = "README.md" homepage = "https://lettre.rs" diff --git a/README.md b/README.md index 42114fa..b2eacd4 100644 --- a/README.md +++ b/README.md @@ -28,27 +28,14 @@
- - + dependency status
--- -**NOTE**: this readme refers to the 0.10 version of lettre, which is -in release candidate state. Use the [`v0.9.x`](https://github.com/lettre/lettre/tree/v0.9.x) -branch for the previous stable release. - -0.10 is already widely used and is already thought to be more reliable than 0.9, so it should generally be used -for new projects. - -We'd love to hear your feedback about 0.10 design and APIs before final release! -Start a [discussion](https://github.com/lettre/lettre/discussions) in the repository, whether for -feedback or if you need help or advice using or upgrading lettre 0.10. - ---- - ## Features Lettre provides the following features: @@ -63,15 +50,20 @@ Lettre does not provide (for now): * Email parsing +## Supported Rust Versions + +Lettre supports all Rust versions released in the last 6 months. At the time of writing +the minimum supported Rust version is 1.56, but this could change at any time either from +one of our dependencies bumping their MSRV or by a new patch release of lettre. + ## Example This library requires Rust 1.56.0 or newer. To use this library, add the following to your `Cargo.toml`: - ```toml [dependencies] -lettre = "0.10.0-rc.7" +lettre = "0.10" ``` ```rust,no_run diff --git a/src/lib.rs b/src/lib.rs index 93be811..791aa8f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -100,7 +100,7 @@ //! [mime 0.3]: https://docs.rs/mime/0.3 //! [DKIM]: https://datatracker.ietf.org/doc/html/rfc6376 -#![doc(html_root_url = "https://docs.rs/crate/lettre/0.10.0-rc.7")] +#![doc(html_root_url = "https://docs.rs/crate/lettre/0.10.0")] #![doc(html_favicon_url = "https://lettre.rs/favicon.ico")] #![doc(html_logo_url = "https://avatars0.githubusercontent.com/u/15113230?v=4")] #![forbid(unsafe_code)]