smtp crate
This commit is contained in:
parent
6e23bf7c65
commit
7945051eac
7 changed files with 32 additions and 1 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
@ -678,6 +678,13 @@ dependencies = [
|
||||||
"webpki-roots",
|
"webpki-roots",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "panorama-smtp"
|
||||||
|
version = "0.0.1"
|
||||||
|
dependencies = [
|
||||||
|
"nom",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "parking_lot"
|
name = "parking_lot"
|
||||||
version = "0.11.1"
|
version = "0.11.1"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
members = [
|
members = [
|
||||||
"daemon",
|
"daemon",
|
||||||
"imap",
|
"imap",
|
||||||
|
"smtp",
|
||||||
]
|
]
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|
|
@ -17,4 +17,4 @@ stderrlog = "0.5.1"
|
||||||
tokio = { version = "1.9.0", features = ["full"] }
|
tokio = { version = "1.9.0", features = ["full"] }
|
||||||
tokio-rustls = "0.22.0"
|
tokio-rustls = "0.22.0"
|
||||||
toml = "0.5.8"
|
toml = "0.5.8"
|
||||||
xdg = "2.2.0"
|
xdg = "2.2.0"
|
||||||
|
|
16
smtp/Cargo.toml
Normal file
16
smtp/Cargo.toml
Normal 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
3
smtp/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
panorama-smtp
|
||||||
|
===
|
||||||
|
|
1
smtp/src/lib.rs
Normal file
1
smtp/src/lib.rs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pub mod proto;
|
3
smtp/src/proto/mod.rs
Normal file
3
smtp/src/proto/mod.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
//! Helper functions for manipulating the wire protocol.
|
||||||
|
|
||||||
|
#![allow(non_snake_case, dead_code)]
|
Loading…
Reference in a new issue