diff --git a/core-foundation/src/date.rs b/core-foundation-sys/src/date.rs similarity index 100% rename from core-foundation/src/date.rs rename to core-foundation-sys/src/date.rs diff --git a/core-foundation-sys/src/lib.rs b/core-foundation-sys/src/lib.rs index 4379f7d..7af117d 100644 --- a/core-foundation-sys/src/lib.rs +++ b/core-foundation-sys/src/lib.rs @@ -6,5 +6,6 @@ pub mod array; pub mod base; pub mod bundle; pub mod data; +pub mod date; pub mod number; pub mod string; diff --git a/core-foundation/src/lib.rs b/core-foundation/src/lib.rs index b8fb276..f8541e1 100644 --- a/core-foundation/src/lib.rs +++ b/core-foundation/src/lib.rs @@ -58,7 +58,6 @@ pub mod set; pub mod string; pub mod url; pub mod bundle; -pub mod date; pub mod runloop; #[cfg(test)] diff --git a/core-foundation/src/runloop.rs b/core-foundation/src/runloop.rs index 1637562..5f61730 100644 --- a/core-foundation/src/runloop.rs +++ b/core-foundation/src/runloop.rs @@ -15,12 +15,12 @@ use core_foundation_sys::base::{CFTypeID, CFHashCode, mach_port_t}; use core_foundation_sys::base::{kCFAllocatorDefault, Boolean, CFOptionFlags}; use core_foundation_sys::array::{CFArrayRef}; use core_foundation_sys::string::CFStringRef; +use core_foundation_sys::date::{CFAbsoluteTime, CFTimeInterval}; use libc::c_void; use std::mem; use base::{TCFType}; use string::{CFString}; -use date::{CFAbsoluteTime, CFTimeInterval}; pub struct CFRunLoop(CFRunLoopRef);