forge-runtime 0.10.0

Runtime executors and gateway for the Forge framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! PostgreSQL primitives: pooling, leader election, migrations, NOTIFY.

mod change_log;
mod leader;
pub mod migration;
mod notify;
mod notify_bus;
mod pool;

pub use change_log::{ChangeRow, drain_change_log, max_seq, min_seq, trim_change_log};
pub use leader::{LEADER_RELEASED_CHANNEL, LeaderConfig, LeaderElection};
pub use migration::{
    AppliedMigration, DriftStatus, Migration, MigrationRunner, MigrationStatus,
    load_migrations_from_dir,
};
pub use notify::{MAX_PAYLOAD_BYTES, NotifyChannel};
pub use notify_bus::PgNotifyBus;
pub use pool::Database;