From 499079fa322f36d9475b285e17fdc0821c6967e1 Mon Sep 17 00:00:00 2001 From: nkosi23 Date: Fri, 17 May 2024 10:22:05 +0200 Subject: [PATCH] Update platform.rs to add FreeBSD support --- src/platform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform.rs b/src/platform.rs index 13e01c80..9b3cb60e 100644 --- a/src/platform.rs +++ b/src/platform.rs @@ -1,7 +1,7 @@ //! The `platform` module contains the platform-specific implementations of the various [`api`] //! traits. Refer for the `api` module for how to use them. -#[cfg(target_os = "linux")] +#[cfg(any(target_os = "linux", target_os = "freebsd"))] pub use crate::bluez::{ adapter::Adapter, manager::Manager, peripheral::Peripheral, peripheral::PeripheralId, };