Postmark
A rust library to query Postmark API.
Usage
Add the crate dependency to your Cargo.toml:
[]
= "x.y.z"
And use it, see documentation at: https://docs.rs/postmark.
use SendEmailRequest;
use Body;
use PostmarkClient;
use Query;
async
Messages example:
use OutboundSearchRequest;
use PostmarkClient;
use Query;
async
API coverage
Detailed endpoint matrix and examples:
docs/api/postmark-endpoints.mddocs/api/examples/docs/api/compatibility.md
Current high-level status:
| Section | Status |
|---|---|
| implemented | |
| Bulk | implemented |
| Bounce | implemented |
| Templates | implemented |
| Server | implemented |
| Servers | implemented |
| Message Streams | implemented |
| Domains | implemented |
| Sender Signatures | implemented (non-deprecated) |
| Stats | implemented |
| Triggers: Inbound rules | implemented |
| Webhooks | implemented |
| Suppressions | implemented |
| Data Removal | implemented |
| Messages | implemented |
Releasing a new version
Prerequisite:
On Release:
# check it does the good thing
Thanks
This crate's API design is heavily inspired by the article "Designing Rust bindings for REST APIs by Ben Boeckel.
License
postmark-rs is dual-licensed under either:
- MIT License (LICENSE-MIT)
- Apache License, Version 2.0 (LICENSE-APACHE)