acts-store-postgres 0.16.1

acts store plugin for postgres
Documentation

acts-postgres

The acts postgres plugin for acts.

Installation

create acts.cfg in current dir

postgres {
    database_url: "postgresql://<your connection string>"
}
cargo add acts-store-postgres

Example

use acts::{EngineBuilder, Result};
use acts_store_postgres::PostgresStore;

#[tokio::main]
async fn main() -> Result<()> {
    let engine = EngineBuilder::new()
        .add_plugin(&PostgresStore)
        .build().await?
        .start();

    Ok(())
}