| Crates.io | miltr-common |
| lib.rs | miltr-common |
| version | 0.1.3 |
| created_at | 2024-02-26 08:20:42.946037+00 |
| updated_at | 2025-09-19 11:29:13.99112+00 |
| description | A miltr commons library in pure rust |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1153166 |
| size | 123,180 |
Single source of truth for miltr-server and miltr-client implementations.
The milter protocol basically works as follows:
optneg::OptNeg] packages.commands::Command] for each SMTP command it receivesactions::Action]commands::EndOfBody] the server responds with a list of
[modifications::ModificationAction] to instruct the client what to
change in the processed mail.This is what's contained within the [actions], [commands], [modifications]
and [optneg] module.
As all packages share some logic on how to be (de-)serialized, modules
[encoding] and [decoding] contain the implementation of that.
All parsing is based on splitting [bytes::BytesMut] into smaller parts.