diff --git a/src/local.rs b/src/local.rs index 7298c5a..9457d58 100644 --- a/src/local.rs +++ b/src/local.rs @@ -73,6 +73,7 @@ impl Client { Self::new(path) } + #[deprecated(note = "sync() is deprecated and will be removed in a future release. Use the `turso` crate instead. Learn more: https://tur.so/newsync")] pub async fn sync(&self) -> anyhow::Result { self.db.sync().await.map_err(|e| anyhow::anyhow!("{}", e)) }