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
use ruststream_sqlx::InboxHeaders;

#[derive(Debug, Clone, InboxHeaders, sqlx::FromRow)]
#[inbox(table = "order_jobs", custom(fetch))]
struct OrderHeaders {
    #[field(id, generated)]
    job_id: i64,
    tenant: String,
}

fn main() {}