remove sqlite code

This commit is contained in:
Paul Robertson 2024-06-26 19:11:15 -04:00
parent fb758f5f4b
commit 624cd2acfa
No known key found for this signature in database
4 changed files with 2 additions and 370 deletions

View file

@ -25,12 +25,6 @@ pub type Result<T, E = Error> = std::result::Result<T, E>;
#[derive(Error)]
pub enum Error {
#[cfg(feature = "sqlite")]
#[error("There was a problem with the connection to the sqlite database: {source}")]
Sqlite {
#[from]
source: rusqlite::Error,
},
#[cfg(feature = "rocksdb")]
#[error("There was a problem with the connection to the rocksdb database: {source}")]
RocksDb {
@ -120,10 +114,6 @@ impl Error {
let db_error = String::from("Database or I/O error occurred.");
match self {
#[cfg(feature = "sqlite")]
Self::Sqlite {
..
} => db_error,
#[cfg(feature = "rocksdb")]
Self::RocksDb {
..