ruststream-sqlx 0.7.0

SQL databases for the RustStream messaging framework through sqlx: a transactional outbox over any RustStream broker and task queues in Postgres, MySQL/MariaDB and SQLite tables.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use ruststream_sqlx::outbox;

struct OrderEvent;
struct RefundEvent;

fn main() {
    let _ = outbox! {
        "orders" => OrderEvent,
        "refunds" => RefundEvent,
        "orders" => RefundEvent,
    };
}