refactor: drop postgres backend
This commit is contained in:
@@ -10,5 +10,4 @@ anyhow = { workspace = true }
|
||||
[features]
|
||||
default = []
|
||||
sqlite = []
|
||||
postgres = ["sqlx/postgres"]
|
||||
nats = []
|
||||
|
||||
@@ -5,8 +5,6 @@ pub use config::{AppConfig, WrapUpConfig};
|
||||
pub enum DbPool {
|
||||
#[cfg(feature = "sqlite")]
|
||||
Sqlite(sqlx::SqlitePool),
|
||||
#[cfg(feature = "postgres")]
|
||||
Postgres(sqlx::PgPool),
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
|
||||
Reference in New Issue
Block a user