djc/tokio-imap
Fork: 42 Star: 123 (更新于 2024-11-19 09:26:34)
license: Apache-2.0
Language: Rust .
Tokio-based IMAP implementation
最后发布版本: imap-proto-0.13.0 ( 2021-03-08 16:07:38)
imap-proto and tokio-imap
All feedback welcome. Feel free to file bugs, requests for documentation and any other feedback to the issue tracker or tweet me.
tokio-imap and imap-proto are maintained by Dirkjan Ochtman. If you depend on these projects, please support the project via GitHub Sponsors or contact me for support.
tokio-imap: futures-based IMAP client
NOTE: Unlike imap-proto, tokio-imap doesn't receive much maintenance. As an alternative we suggest to evaluate async-imap instead.
A Tokio stack-based, fully asynchronous IMAP library, with strong focus on following the relevant specs, mainly IMAP4rev1, but with limited support for the Conditional STORE extension. The type system is used to help enforce correctness where possible. So far, there is only client code and lots of infrastructure that supposedly could be shared -- no server yet. (If you want a tokio-based server, look at IMAPServer.)
Feature highlights
- Fully asynchronous by using tokio-core and tokio-io
- Uses the type system to help enforce correct operation according to spec
- nom-based parser (in imap-proto), so far only used for server response messages
Limitations
- Alpha-level implementation -- no tests yet, limited protocol coverage
- Server is totally unimplemented at this stage
How to get started
Have a look at the mailsync crate for example usage.
imap-proto: IMAP types and protocol parser
imap-proto is a low-level IMAP protocol support crate, using the type system to provide a safe API. It was extracted from tokio-imap into a separate crate so that different protocol implementations can share it as common infrastructure (as proposed by rust-imap contributors). The code tries to closely follow the IMAP4rev1 RFC, plus extensions.
Protocol support is implemented in three parts:
- Types that attempt to closely reflect specification requirements
- A parser implementation to help consume protocol messages
- Builder types to help produce protocol messages
Progress
- Client
- Parser: many common server responses implemented
- Types: most common types implemented
- Message builder: most common commands implemented
- Server
- Parser: not started
- Types: not started
- Message builder: not started
最近版本更新:(数据更新于 2024-10-03 02:06:45)
2021-03-08 16:07:38 imap-proto-0.13.0
2020-11-11 20:35:37 imap-proto-0.12.0
2020-09-25 19:53:28 imap-proto-0.11.0
2020-02-04 16:00:48 imap-proto-0.10.2
2020-01-04 05:17:32 tokio-imap-0.5.0
2020-01-04 05:14:31 imap-proto-0.10.0
2019-11-08 04:13:49 tokio-imap-0.5.0-alpha.1
2019-11-08 04:10:12 imap-proto-0.9.1
2019-09-04 22:59:43 imap-proto-0.9.0
2019-08-01 18:19:58 imap-proto-0.8.1
主题(topics):
imap-library, rust, tokio
djc/tokio-imap同语言 Rust最近更新仓库
2024-11-24 11:02:32 lapce/lapce
2024-11-23 21:43:05 gleam-lang/gleam
2024-11-22 05:42:56 lanyeeee/jmcomic-downloader
2024-11-22 01:44:25 surrealdb/surrealdb
2024-11-11 22:51:00 tauri-apps/tauri
2024-11-11 07:55:30 dani-garcia/vaultwarden