pleme-database
Database utilities library for Pleme platform - connection pooling, transactions, repository pattern
Installation
[]
= "0.1"
Usage
use ;
let pool = connect.await?;
Feature Flags
| Feature | Description |
|---|---|
postgres |
PostgreSQL support via SQLx (default) |
cache |
Redis caching layer |
errors |
pleme-error integration |
full |
All features enabled |
Enable features in your Cargo.toml:
= { = "0.1", = ["full"] }
Development
This project uses Nix for reproducible builds:
License
MIT - see LICENSE for details.