Skip to main content

post3/
lib.rs

1pub mod backend;
2pub mod error;
3pub mod fs;
4pub mod models;
5pub mod repositories;
6pub mod store;
7
8pub use backend::StorageBackend;
9pub use error::Post3Error;
10pub use fs::FilesystemBackend;
11pub use store::{PostgresBackend, Store};
12
13/// Embedded database migrations. Run with `MIGRATOR.run(&pool).await`.
14pub static MIGRATOR: sqlx::migrate::Migrator = sqlx::migrate!("./migrations");