Only create the RsdService trait with the rsd feature

This commit is contained in:
Jackson Coxson
2025-06-02 20:02:38 -06:00
parent 35ba07889b
commit 86fb6f3245

View File

@@ -65,6 +65,7 @@ pub trait IdeviceService: Sized {
) -> impl std::future::Future<Output = Result<Self, IdeviceError>> + Send; ) -> impl std::future::Future<Output = Result<Self, IdeviceError>> + Send;
} }
#[cfg(feature = "rsd")]
pub trait RsdService: Sized { pub trait RsdService: Sized {
fn rsd_service_name() -> &'static str; fn rsd_service_name() -> &'static str;
fn from_stream( fn from_stream(