Commit Graph

33 Commits

Author SHA1 Message Date
Damian Poddebniak e72b8b4772 Run "scheduled.yml" only two times a week 2021-10-17 12:55:27 +02:00
Damian Poddebniak b66480090d
Merge pull request #2 from duesee/improve_ci
Improve CI
2021-07-21 13:53:09 +02:00
Damian Poddebniak ebb9ff4d74 Improve CI 2021-07-21 13:48:40 +02:00
Damian Poddebniak 1b4ff2b2d3
Merge pull request #1 from duesee/use_gh_actions
Use GitHub Actions
2021-07-20 21:53:57 +02:00
Damian Poddebniak c63bf04601 Reformat code 2021-07-20 21:51:44 +02:00
Damian Poddebniak b83c4fd065 Use GitHub Actions 2021-07-20 21:47:55 +02:00
Damian Poddebniak c056f622c7 Add traces from RFC 5321 (Appendix D. Scenarios) as tests. 2021-05-24 18:40:43 +02:00
Damian Poddebniak 2d4ea2f9c4 Fix serialization of address in `Command::{Ehlo, Helo}`. Thanks `cargo fuzz`! 2021-05-24 17:49:18 +02:00
Damian Poddebniak d13e9e0d07 Add `cargo fuzz` target for `command` parser (and serializer). 2021-05-24 17:27:35 +02:00
Damian Poddebniak fcd8ee93ff Try to create a useful `Response` struct. 2021-05-23 19:26:16 +02:00
Damian Poddebniak ad3a164d19 Merge `response` and `replies` modules. 2021-05-23 14:14:35 +02:00
Damian Poddebniak e9ddac2ec2 Change `Reply_code` to return u16. 2021-05-23 14:03:45 +02:00
Damian Poddebniak bffba030df Improve documentation. 2021-05-23 14:02:34 +02:00
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