Skip to content

Commit

Permalink
Remove direct libc dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm authored and qdot committed May 14, 2024
1 parent cf9f7bd commit ba24d16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ objc2-foundation = { version = "0.2.0", features = [
"NSUUID",
"NSValue",
] }
libc = "0.2.151"

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.52.0", features = ["Devices_Bluetooth", "Devices_Bluetooth_GenericAttributeProfile", "Devices_Bluetooth_Advertisement", "Devices_Radios", "Foundation_Collections", "Foundation", "Storage_Streams"] }
Expand Down
2 changes: 1 addition & 1 deletion src/corebluetooth/central_delegate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use super::{
};
use futures::channel::mpsc::{self, Receiver, Sender};
use futures::sink::SinkExt;
use libc::c_void;
use log::{error, trace};
use objc2::runtime::{
AnyClass as Class, AnyObject as Object, AnyProtocol as Protocol, ClassBuilder, Sel,
Expand All @@ -36,6 +35,7 @@ use std::{
collections::HashMap,
fmt::{self, Debug, Formatter},
ops::Deref,
os::raw::c_void,
sync::Once,
};
use uuid::Uuid;
Expand Down

0 comments on commit ba24d16

Please sign in to comment.