mda-rs is a Rust library for writing custom Mail Deliver Agents.
The detailed module documentation, including code examples for all features, can be found at https://docs.rs/mda.
Add this to your
[dependencies] mda = "0.1"
If you are using Rust 2015 add the following to your crate root file (Rust 2018 doesn't require this):
extern crate mda;
See examples/personal-mda.rs for an example that uses mda-rs.