From 6ad43568301184f9d294a349a72f744bb9756aff Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Thu, 26 Sep 2024 14:45:55 +0200 Subject: [PATCH] Make imports from core_foundation_sys explicit They are used with IOKit and there are no reexports of them from core_foundation or io_kit_sys. --- src/posix/enumerate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posix/enumerate.rs b/src/posix/enumerate.rs index dcc681a..3feba2b 100644 --- a/src/posix/enumerate.rs +++ b/src/posix/enumerate.rs @@ -14,7 +14,7 @@ cfg_if! { use core_foundation::dictionary::CFMutableDictionary; use core_foundation::number::CFNumber; use core_foundation::string::CFString; - use core_foundation_sys::base::*; + use core_foundation_sys::base::{kCFAllocatorDefault, CFRetain}; use io_kit_sys::*; use io_kit_sys::keys::*; use io_kit_sys::serial::keys::*;