diff --git a/sdk/src/api/opt/config.rs b/sdk/src/api/opt/config.rs index 2e39d65c..122ad305 100644 --- a/sdk/src/api/opt/config.rs +++ b/sdk/src/api/opt/config.rs @@ -8,7 +8,6 @@ use surrealdb_core::{dbs::Capabilities as CoreCapabilities, iam::Level}; #[derive(Debug, Clone, Default)] pub struct Config { pub(crate) strict: bool, - pub(crate) notifications: bool, pub(crate) query_timeout: Option<Duration>, pub(crate) transaction_timeout: Option<Duration>, #[cfg(any(feature = "native-tls", feature = "rustls"))] @@ -45,26 +44,6 @@ impl Config { self } - /// Set the notifications value of the config to the supplied value - #[deprecated( - since = "1.1.0", - note = "Moved to `Capabilities::with_live_query_notifications()`" - )] - pub fn set_notifications(mut self, notifications: bool) -> Self { - self.notifications = notifications; - self - } - - /// Set the config to use notifications - #[deprecated( - since = "1.1.0", - note = "Moved to `Capabilities::with_live_query_notifications()`" - )] - pub fn notifications(mut self) -> Self { - self.notifications = true; - self - } - /// Set the query timeout of the config pub fn query_timeout(mut self, timeout: impl Into<Option<Duration>>) -> Self { self.query_timeout = timeout.into();