Damian Poddebniak
21138c353b
Introduce feature-gated `serde` dependency
...
* derive `serde::{Deserialize, Serialize}` for `Capability` and `AuthMechanism`.
2021-05-22 22:57:21 +02:00
Damian Poddebniak
7cac2a2903
Impl `EhloOkResp::{new, serialize}`
2021-05-22 22:56:45 +02:00
Damian Poddebniak
54a0311fc6
Implement `{Capability,AuthMechanism}::serialize`.
2021-05-22 22:31:49 +02:00
Damian Poddebniak
ecbd3365d6
Add command parsing example.
2021-05-22 21:33:27 +02:00
Damian Poddebniak
10f614edb6
Too much, sorry.
2021-05-22 21:30:53 +02:00
Damian Poddebniak
a327db7285
Add `number` parser.
2021-05-15 19:26:20 +02:00
Damian Poddebniak
f6278a6da0
Update README.md
2021-02-22 18:53:25 +01:00
Damian Poddebniak
28167aa142
Create SECURITY.md
2021-02-22 18:44:04 +01:00
Damian Poddebniak
7d0be8df0e
Add description to Cargo.toml
2021-02-22 17:46:49 +01:00
Damian Poddebniak
953c96d93b
Update Cargo.toml
2021-02-22 17:45:28 +01:00
Damian Poddebniak
f5f04ea5e3
Thanks Clippy!
2021-02-22 16:46:46 +01:00
Damian Poddebniak
cc8551e357
Update to nom 6
2021-02-22 16:36:54 +01:00
Damian Poddebniak
75d09f91ec
Implement Command::serialize
2020-12-04 15:04:06 +01:00
Damian Poddebniak
facfa4d7ea
Improve fields of Command enum.
2020-12-04 15:03:28 +01:00
Damian Poddebniak
b8448a8889
renamed to smtp-codec
2020-09-10 17:41:06 +02:00
Damian Poddebniak
3007f1a3ff
Greeting Parser and Type
2020-08-10 16:48:29 +02:00
Damian Poddebniak
a0375f5657
Simplified ehlo-ok-rsp ABNF
2020-08-10 15:54:37 +02:00
Damian Poddebniak
d41e8118f3
EhloOkResp Parser + Type
...
* ehlo_ok_resp returns `EhloOkResp` now
* Converted some &[u8] parser to &str
* Added unit test
* Changed ehlo_line to accept "AUTH=LOGIN PLAIN" (note the "=")
2020-08-10 15:05:30 +02:00
Damian Poddebniak
f14357d5b9
License
2020-08-09 11:27:59 +02:00
Damian Poddebniak
f3768f1321
"Initial" commit.
2020-08-06 16:25:02 +02:00