remove db-sqlx feature

This commit is contained in:
Robin Appelman 2025-04-29 16:02:06 +02:00
commit 10b7d8eb56
4 changed files with 125 additions and 234 deletions

View file

@ -281,14 +281,3 @@ impl Database {
}
}
}
#[cfg(feature = "db-sqlx")]
impl TryFrom<Database> for sqlx::any::AnyConnectOptions {
type Error = sqlx::Error;
fn try_from(cfg: Database) -> Result<Self, Self::Error> {
use std::str::FromStr;
sqlx::any::AnyConnectOptions::from_str(&cfg.url())
}
}