snodra-messaging-sqlx 0.12.0

Snodra messaging: the SQL message store on PostgreSQL and MySQL (outbox, processed events, dead letters, processor control, external calls, sagas), in the SQL layout every Snodra library shares
Documentation
//! The SQL store passes the store conformance kit, every check, on PostgreSQL and on MySQL, at
//! `postgres:17.7` and `mysql:8.4.7`.

#![cfg(all(feature = "postgres", feature = "mysql"))]

mod support;

use std::sync::Arc;

use snodra_messaging::store::conformance::run_store_conformance;
use support::Server;

#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
async fn postgres_store_passes_conformance() {
    let server = Server::postgres().await;
    let (store, _) = server.store().await;
    run_store_conformance(Arc::new(store)).await;
}

#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
async fn mysql_store_passes_conformance() {
    let server = Server::mysql().await;
    let (store, _) = server.store().await;
    run_store_conformance(Arc::new(store)).await;
}