post3 0.1.0

Pluggable S3-compatible object storage — core library with PostgreSQL and filesystem backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod backend;
pub mod error;
pub mod fs;
pub mod models;
pub mod repositories;
pub mod store;

pub use backend::StorageBackend;
pub use error::Post3Error;
pub use fs::FilesystemBackend;
pub use store::{PostgresBackend, Store};

/// Embedded database migrations. Run with `MIGRATOR.run(&pool).await`.
pub static MIGRATOR: sqlx::migrate::Migrator = sqlx::migrate!("./migrations");