Paolo Barbolini
bb64baec67
style: warn on more pedantic clippy lints and fix them ( #1035 )
2025-02-02 12:50:15 +01:00
Paolo Barbolini
dfdf3a61d2
Drop ref syntax ( #959 )
2024-04-21 11:22:07 +02:00
Paolo Barbolini
6f38e6b9a9
Fix latest clippy warnings ( #953 )
2024-03-28 05:12:13 +01:00
Alexis Mousset
bbab86b484
A few spelling and doc fixes ( #900 )
2023-08-16 21:56:33 +02:00
Clément DOUIN
5f37b66352
Improve mailbox parsing using chumsky ( #839 )
2023-02-20 14:09:23 +01:00
Paolo Barbolini
2b6d457f85
clippy: deny str_to_string and empty_structs_with_brackets ( #857 )
2023-02-14 18:33:10 +01:00
Paolo Barbolini
f8f19d6af5
clippy: fix latest warnings ( #855 )
2023-01-29 13:46:57 +00:00
Paolo Barbolini
9273d24e54
Use nightly rustfmt features to improve code style ( #734 )
...
* format_code_in_doc_comments
* imports_granularity
* group_imports
* Add ci job
2022-02-12 20:03:37 +01:00
Alexis Mousset
1d8249165c
Makes more things private and add missing docs ( #621 )
2021-05-19 18:51:03 +02:00
Paolo Barbolini
137566a4e4
Improve docs in lib.rs ( #574 )
...
* Improve docs in lib.rs
* Typos
2021-03-18 08:02:21 +00:00
Alexis Mousset
22efe341fe
feat(builder): Seal SMTP error type ( #564 )
...
* feat(builder): Seal SMTP error type
* More precise error types
2021-03-13 17:15:21 +00:00
Alexis Mousset
a04866acfb
Improve doc formatting ( #539 )
2021-02-05 08:39:00 +01:00
Paolo Barbolini
583df6af18
Fix Rust 2018 Idioms
2020-10-13 09:03:32 +02:00
Paolo Barbolini
e156520feb
clippy: fix warnings in tests
...
Makes running 'cargo clippy --all-features --tests' work
2020-09-09 13:12:26 +02:00
Alexis Mousset
41d68616e0
Remove ClientId::new_domain
2020-08-28 11:56:22 +02:00
Alexis Mousset
36aab20086
Mark ClientId::new as deprecated
2020-08-28 11:56:22 +02:00
Alexis Mousset
98f09117f7
fix(transport-smtp): Use 127.0.0.1 literal as EHLO parameter when we have no hostname
...
Also fix formatting of address literals
Comes from 2275fd8d13
with a different approach for default value.
2020-08-28 11:56:22 +02:00
Paolo Barbolini
3e62efb46a
chore: simplify ClientId::hostname
2020-08-04 11:44:47 +02:00
Paolo Barbolini
cedfd8bfbb
chore: simplify Error and Display implementations
2020-08-04 11:44:47 +02:00
Paolo Barbolini
4c2f40dcb6
Fix broken smtp/extension.rs
2020-05-02 21:05:06 +02:00
Alexis Mousset
0604030b91
Remove SmtpClient and make transport immutable
...
in Transport methods. Also make proper use of
connection pools.
2020-05-01 22:25:12 +02:00
Alexis Mousset
53aa5b4df6
Replace email builder by a new implementation ( #393 )
...
* Update dependencies (#386 )
* Update dependencies and set MSRV to 1.40
* update hyperx
* Use display instead of description for errors
* Make hostname an optional feature
* Envelope from headers
* Update hyperx to 1.0
* rename builder to message
* Cleanup and make Transport send Messages
* Update rustls from 0.16 to 0.17
* Move transports into a common folder
* Merge imports from same crate
* Add message creation example to the site
* Hide "extern crate" in doc examples
* Add References and In-Reply-To methods
* Add message-id header
* Add blog posts and improve doc examples
2020-04-18 21:10:03 +00:00
Alexis Mousset
ae640da631
refactor(all): split email and transport into different crates
2017-05-21 00:59:39 +02:00
Alexis Mousset
66c214c2b7
style(all): Fix tests on some platforms
2017-05-19 22:47:22 +02:00
Alexis Mousset
20f6c5db3f
feat(transport-smtp): Add support for LOGIN auth mechanism
2017-03-26 21:54:28 +02:00
Alexis Mousset
3b4f4a739e
style(all): Incompatible improvements in API
2016-10-23 17:16:54 +02:00
Alexis Mousset
bc874fa8f4
feat(transport): Add an Error and Result type for each transport
2016-08-31 21:33:02 +02:00
Alexis Mousset
97da0c0869
style(all): improve the code thanks to rust-clippy
2016-05-17 00:54:11 +02:00
Alexis Mousset
d1bef702d6
style(all): run rustfmt 0.5
2016-05-14 12:17:09 +02:00
Ashkan Kiani
8d9877233d
Renames and fixes typo from mecanism to mechanism
2015-10-27 06:20:04 -07:00
Alexis Mousset
40e749a04a
style(formatting): Run rustfmt
2015-10-26 22:51:07 +01:00
Alexis Mousset
54758ebde9
Rename rust-smtp to lettre, add multiple transports support
2015-10-14 23:44:25 +02:00