Prepare 0.10.0 release (#538)
This commit is contained in:
@@ -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
|
* Refactor `TlsParameters` implementation to not expose the internal TLS library
|
||||||
* `FileTransport` writes emails into `.eml` instead of `.json`
|
* `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)
|
* 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
|
* The `new` method of `ClientId` is deprecated
|
||||||
* Rename `serde-impls` feature to `serde`
|
* Rename `serde-impls` feature to `serde`
|
||||||
* The `SendmailTransport` now uses the `sendmail` command in current `PATH` by default instead of
|
* The `SendmailTransport` now uses the `sendmail` command in current `PATH` by default instead of
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lettre"
|
name = "lettre"
|
||||||
# remember to update html_root_url and README.md (Cargo.toml example and deps.rs badge)
|
# 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"
|
description = "Email client"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
homepage = "https://lettre.rs"
|
homepage = "https://lettre.rs"
|
||||||
|
|||||||
26
README.md
26
README.md
@@ -28,27 +28,14 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<a href="https://deps.rs/crate/lettre/0.10.0-rc.7">
|
<a href="https://deps.rs/crate/lettre/0.10.0">
|
||||||
<img src="https://deps.rs/crate/lettre/0.10.0-rc.7/status.svg"
|
<img src="https://deps.rs/crate/lettre/0.10.0/status.svg"
|
||||||
alt="dependency status" />
|
alt="dependency status" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**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
|
## Features
|
||||||
|
|
||||||
Lettre provides the following features:
|
Lettre provides the following features:
|
||||||
@@ -63,15 +50,20 @@ Lettre does not provide (for now):
|
|||||||
|
|
||||||
* Email parsing
|
* 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
|
## Example
|
||||||
|
|
||||||
This library requires Rust 1.56.0 or newer.
|
This library requires Rust 1.56.0 or newer.
|
||||||
To use this library, add the following to your `Cargo.toml`:
|
To use this library, add the following to your `Cargo.toml`:
|
||||||
|
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lettre = "0.10.0-rc.7"
|
lettre = "0.10"
|
||||||
```
|
```
|
||||||
|
|
||||||
```rust,no_run
|
```rust,no_run
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
//! [mime 0.3]: https://docs.rs/mime/0.3
|
//! [mime 0.3]: https://docs.rs/mime/0.3
|
||||||
//! [DKIM]: https://datatracker.ietf.org/doc/html/rfc6376
|
//! [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_favicon_url = "https://lettre.rs/favicon.ico")]
|
||||||
#![doc(html_logo_url = "https://avatars0.githubusercontent.com/u/15113230?v=4")]
|
#![doc(html_logo_url = "https://avatars0.githubusercontent.com/u/15113230?v=4")]
|
||||||
#![forbid(unsafe_code)]
|
#![forbid(unsafe_code)]
|
||||||
|
|||||||
Reference in New Issue
Block a user