Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(storage): drop sqlite feature gate from snapshot driver_docs

Steven Enamakel559fcf981602
diff --git a/crates/openhuman-core/src/storage/import/snapshot.rs b/crates/openhuman-core/src/storage/import/snapshot.rs
index 4d451cd8a8..b4b4a7d2c0 100644
--- a/crates/openhuman-core/src/storage/import/snapshot.rs
+++ b/crates/openhuman-core/src/storage/import/snapshot.rs
@@ -67,7 +67,6 @@ impl Snapshot {
/// # Errors
///
/// When the copy cannot be opened with the SQLite driver or read.
- #[cfg(feature = "storage-sqlite")]
pub fn driver_docs(&self, collections: fn() -> Vec<CollectionSpec>) -> Result<Vec<Record>> {
use tinystoragedrivers::{DocumentStoreExt, Query, Scope, StorageBackend};
@@ -94,12 +93,6 @@ impl Snapshot {
})?;
Ok(found)
}
-
- /// Without the SQLite driver there is no way to read driver tables.
- #[cfg(not(feature = "storage-sqlite"))]
- pub fn driver_docs(&self, _collections: fn() -> Vec<CollectionSpec>) -> Result<Vec<Record>> {
- Ok(Vec::new())
- }
}
fn companion(path: &Path, suffix: &str) -> PathBuf {