Expand description
Acts postgres store
§acts-postgres
The acts postgres plugin for acts.
§Installation
create config/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(())
}