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

#[derive(Inbox)]
#[inbox(table = "jobs", custom(lease))]
struct UnknownEvent {
    #[field(id)]
    id: i64,
}

#[derive(Inbox)]
#[inbox(table = "jobs", custom(publish))]
struct PublishListed {
    #[field(id)]
    id: i64,
}

#[derive(Inbox)]
#[inbox(table = "jobs", custom(ack, ack))]
struct ListedTwice {
    #[field(id)]
    id: i64,
}

#[derive(Inbox)]
#[inbox(table = "jobs", custom(lock, unlock))]
struct LockWithoutAdvisory {
    #[field(id)]
    id: i64,
}

#[derive(Inbox)]
#[inbox(table = "jobs", advisory_lock = "jobs-{id}", custom(lock))]
struct LockWithoutUnlock {
    #[field(id)]
    id: i64,
}

#[derive(Inbox)]
#[inbox(table = "jobs", clock = SystemClock, clock = SystemClock)]
struct TwoClocks {
    #[field(id)]
    id: i64,
}

fn main() {}