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
13
14
use ruststream_sqlx::Inbox;

// A row is a struct with named fields: each field is a column.
#[derive(Inbox)]
#[inbox(table = "jobs")]
enum Job {
    Email { id: i64 },
}

#[derive(Inbox)]
#[inbox(table = "jobs")]
struct Positional(i64, Vec<u8>);

fn main() {}