Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stalwartlabs/smtp-proto
SMTP protocol parsing library for Rust
https://github.com/stalwartlabs/smtp-proto
lmtp parser rust smtp
Last synced: 2 months ago
JSON representation
SMTP protocol parsing library for Rust
- Host: GitHub
- URL: https://github.com/stalwartlabs/smtp-proto
- Owner: stalwartlabs
- License: apache-2.0
- Created: 2022-12-02T07:16:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T13:26:37.000Z (8 months ago)
- Last Synced: 2024-11-11T12:38:56.002Z (3 months ago)
- Topics: lmtp, parser, rust, smtp
- Language: Rust
- Homepage:
- Size: 225 KB
- Stars: 14
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# smtp-proto
[![crates.io](https://img.shields.io/crates/v/smtp-proto)](https://crates.io/crates/smtp-proto)
[![build](https://github.com/stalwartlabs/sieve/actions/workflows/rust.yml/badge.svg)](https://github.com/stalwartlabs/sieve/actions/workflows/rust.yml)
[![docs.rs](https://img.shields.io/docsrs/smtp-proto)](https://docs.rs/smtp-proto)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![License: Apache](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)_smtp-proto_ is a fast SMTP/LMTP parser for Rust that supports all [registered SMTP service extensions](https://www.iana.org/assignments/mail-parameters/mail-parameters.xhtml).
The library is part of Stalwart SMTP and LMTP servers. It is not yet documented so if you need help using the library please start a discussion.## Testing & Fuzzing
To run the testsuite:
```bash
$ cargo test
```To fuzz the library with `cargo-fuzz`:
```bash
$ cargo +nightly fuzz run smtp_proto
```## License
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)at your option.
## CopyrightCopyright (C) 2020-2024, Stalwart Labs Ltd.