Alexis Mousset
bbab86b484
A few spelling and doc fixes ( #900 )
2023-08-16 21:56:33 +02:00
Paolo Barbolini
89673d0eb2
Bump MSRV to 1.63 ( #869 )
2023-04-02 11:20:51 +02:00
Paolo Barbolini
69e5974024
Hide internal optional dependencies using cargo's 1.60 dep: syntax ( #861 )
2023-02-20 12:00:32 +01:00
Stéphan Kochen
952c1b39df
Add support for rustls-native-certs ( #843 )
2023-02-14 18:11:42 +01:00
André Cruz
fab6680150
Fix clippy warnings ( #807 )
...
Depending on the features chosen these attributes were left
unused.
2022-07-25 18:00:17 +02:00
Paolo Barbolini
62725af00a
Improve TlsVersion docs and remember to re-export it ( #800 )
2022-07-18 07:40:46 +00:00
André Cruz
758bf1a4a7
Configurable minimum TLS version ( #799 )
...
Added support for configuring the minimum accepted TLS version. The
supported versions differ between TLS toolkits.
2022-07-17 13:11:14 +02:00
André Cruz
985fa7edc4
Add support for boring TLS ( #797 )
...
In contexts where FIPS certification is mandatory, having the
ability to use the certified boring TLS library is sometimes necessary.
Added initial support for it, only one TLS toolkit can be enabled at
one time.
2022-07-16 11:28:14 +02:00
Paolo Barbolini
9004d4ccc5
Add documentation to undocumented items ( #793 )
2022-06-29 22:44:29 +02: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
Paolo Barbolini
97d3c760c0
Update rustls to 0.20 ( #648 )
2021-10-20 14:37:16 +02:00
Paolo Barbolini
4586f2ad8a
Remove useless clones ( #609 )
2021-05-01 18:22:53 +02:00
Paolo Barbolini
8afa442e93
Add missing doc(cfg(..)) attributes ( #604 )
2021-04-20 19:09:28 +02:00
Paolo Barbolini
2002a9d75a
tls: use rustls if both native-tls and rustls-tls are enabled ( #586 )
...
Co-authored-by: Alexis Mousset <contact@amousset.me >
2021-03-30 09:06:26 +00:00
Paolo Barbolini
a429a24913
Add missing Debug implementations ( #570 )
2021-03-14 10:17:07 +01: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
9d8c31bef8
Fix smtp doc examples ( #536 )
...
* Fix smtp examples
Make TlsParametersBuilder a consuming builder
as `build()` consumes it. It allows chaining methods.
* Format doc examples
2021-02-03 10:23:08 +01:00
Paolo Barbolini
20d0f8f3ba
Add async-std support to smtp transport ( #531 )
...
* Add async-std support to smtp transport
* fix Tls import
* fix copy paste
* too many imports
* Temporarely skip async-std native-tls support
* Fix panic message
* TlsParameters: use rustls when async-std is enabled
2021-01-28 11:07:15 +01:00
Paolo Barbolini
697da9f7db
Tokio 0.3 support ( #485 )
...
* Tokio 0.3 support
* Tokio 0.3 TLS support
* Tokio 0.3 sendmail transport
* Tokio 0.3 file transport
* Forgotten re-exports
* Tokio 0.3 examples
* fix tokio 0.2 file-transport
* It works
2020-10-19 10:07:36 +02:00
RotationMatrix
449f317246
Add doc_cfg attributes ( #483 )
...
* docs(Cargo.toml): Add `cfg(docsrs)` to `rustdoc` args
* docs(all): Enable doc_cfg crate feature
* docs(transport): Add doc_cfg to Transport traits
* docs(all): Add doc_cfg to public modules
* docs(transport-async): Add doc_cfg to Tokio02Connector
* docs(transport-smtp): Add doc_cfg to Smtp Error
* docs(transport-smtp): Add doc_cfg to TlsParameters
2020-10-13 09:18:41 +02:00
Paolo Barbolini
6526eff5b2
Allow configuring a custom root certificate in TlsParametersBuilder
2020-10-04 10:17:09 +02:00
Paolo Barbolini
30a8797acf
Add TlsParametersBuilder with dangerous options
2020-09-23 19:18:24 +02:00
Paolo Barbolini
c0ef9a38a1
Implement async smtp via tokio 0.2
2020-08-22 18:44:36 +02:00
Paolo Barbolini
bcbdbecd95
refactor: TlsParameters to not expose the inner tls library
...
Also made it compile with both TLS libraries enabled
2020-08-07 19:26:08 +02:00