tokio-imap-0.4.0
版本发布时间: 2018-11-06 17:15:48
djc/tokio-imap最新发布版本:imap-proto-0.13.0(2021-03-08 16:07:38)
tokio-imap hasn't gotten a lot of attention, but here is a release with accumulated small improvements and fixes. The motivating issue for this release was a fix to remove unsafe API:
- Improve safety for unsafe use of
transmute
(fixes #30, thanks to @ExpHP for reviewing). tokio-imap has one instance ofunsafe
to build an efficient and ergonomic response type. Unfortunately this code exposed a field as public that shouldn't have been, making it possible to cause invalid data. Normal usage of the API should still be safe, but everyone is advised to upgrade to this release.
Other changes:
- Some minor API changes to make the API easier to use
- Added a basic example (thanks to @sanmai-NL!)
- Upgraded to latest tokio and native-tls releases and fixed resulting deprecations