Skip to content

Asynchronous IMAP Client built on `async_imap` and Connection Pool implementation

License

Notifications You must be signed in to change notification settings

primait/imap.rs

Repository files navigation

imap.rs 🦀: Asynchronous IMAP Client and Connection Pool

Crate Version: deadpool_imap Crate Version: imap_session License

imap.rs is a repository providing two high-level crates for interacting with IMAP servers asynchronously. It is built on top of the async_imap library.


🏗️ Crates Overview

This repository contains the following two independent crates. Click the links below for detailed installation instructions and usage examples for each.

1. imap_session (Core IMAP Client)

The fundamental building block for interacting with an IMAP server.

  • Purpose: Handles all aspects of establishing a single, secure IMAP session: TCP connection, TLS negotiation, and user authentication (login).
  • Best For: Short-lived tasks, simple scripts, or applications where connection reuse is not critical.
  • Documentation: View imap_session README

2. deadpool_imap (Connection Pool)

A production-grade solution for managing concurrent connections.

  • Purpose: Provides a high-performance, asynchronous connection pool using the deadpool crate. It intelligently manages connections, performing recycling and health checks to ensure reliability.
  • Best For: Server applications, web APIs, or microservices that require high concurrency and frequent, low-latency access to the IMAP server.
  • Documentation: View deadpool_imap README

📄 License

This repository is licensed under the MIT license.

About

Asynchronous IMAP Client built on `async_imap` and Connection Pool implementation

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages