diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index a83f622d..c45cc3ba 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -7743,9 +7743,9 @@ checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "value-bag" -version = "1.11.1" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943ce29a8a743eb10d6082545d861b24f9d1b160b7d741e0f2cdf726bec909c5" +checksum = "7ba6f5989077681266825251a52748b8c1d8a4ad098cc37e440103d0ea717fc0" [[package]] name = "vcpkg" diff --git a/src-tauri/src/service/mod.rs b/src-tauri/src/service/mod.rs index f665e026..c9d54416 100644 --- a/src-tauri/src/service/mod.rs +++ b/src-tauri/src/service/mod.rs @@ -118,6 +118,7 @@ impl DaemonService { /// Helper function used to perform required configuration steps for a new interface. /// /// This allows us to roll back interface creation if some configuration step fails. +#[cfg(not(target_os = "macos"))] fn configure_new_interface( ifname: &str, request: &CreateInterfaceRequest, @@ -196,6 +197,7 @@ pub(crate) fn setup_wgapi(ifname: &str) -> Result { Ok(wgapi) } +#[cfg(not(target_os = "macos"))] #[tonic::async_trait] impl DesktopDaemonService for DaemonService { type ReadInterfaceDataStream = InterfaceDataStream; @@ -531,7 +533,7 @@ impl DesktopDaemonService for DaemonService { } } -#[cfg(unix)] +#[cfg(all(unix, not(target_os = "macos")))] pub async fn run_server(config: Config) -> anyhow::Result<()> { debug!("Starting Defguard interface management daemon");