smtp crate

This commit is contained in:
Michael Zhang 2021-08-09 06:56:32 -05:00
parent 6e23bf7c65
commit 7945051eac
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
7 changed files with 32 additions and 1 deletions

7
Cargo.lock generated
View file

@ -678,6 +678,13 @@ dependencies = [
"webpki-roots",
]
[[package]]
name = "panorama-smtp"
version = "0.0.1"
dependencies = [
"nom",
]
[[package]]
name = "parking_lot"
version = "0.11.1"

View file

@ -2,6 +2,7 @@
members = [
"daemon",
"imap",
"smtp",
]
[profile.release]

16
smtp/Cargo.toml Normal file
View file

@ -0,0 +1,16 @@
[package]
name = "panorama-smtp"
description = "SMTP protocol implementation with high-level async client."
version = "0.0.1"
edition = "2018"
authors = ["Michael Zhang <mail@mzhang.io>"]
keywords = ["smtp", "email", "parser"]
license = "GPL-3.0-or-later"
categories = ["email"]
repository = "https://git.mzhang.io/michael/panorama"
documentation = "https://docs.rs/panorama-smtp"
readme = "README.md"
workspace = ".."
[dependencies]
nom = "6.2.1"

3
smtp/README.md Normal file
View file

@ -0,0 +1,3 @@
panorama-smtp
===

1
smtp/src/lib.rs Normal file
View file

@ -0,0 +1 @@
pub mod proto;

3
smtp/src/proto/mod.rs Normal file
View file

@ -0,0 +1,3 @@
//! Helper functions for manipulating the wire protocol.
#![allow(non_snake_case, dead_code)]