1 unstable release
Uses new Rust 2024
new 0.16.1 | May 25, 2025 |
---|
#1002 in Database interfaces
565KB
16K
SLoC
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(())
}
Dependencies
~33–64MB
~1M SLoC