autd3_timer/lib.rs
1/*
2 * File: lib.rs
3 * Project: src
4 * Created Date: 24/05/2021
5 * Author: Shun Suzuki
6 * -----
7 * Last Modified: 28/05/2021
8 * Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
9 * -----
10 * Copyright (c) 2021 Hapis Lab. All rights reserved.
11 *
12 */
13
14pub mod error;
15
16#[cfg(target_os = "windows")]
17mod windows;
18#[cfg(target_os = "windows")]
19use self::windows::*;
20
21#[cfg(target_os = "linux")]
22mod linux;
23#[cfg(target_os = "linux")]
24use self::linux::*;
25
26#[cfg(target_os = "macos")]
27mod macosx;
28#[cfg(target_os = "macos")]
29use self::macosx::*;
30
31mod timer;
32
33pub use timer::{Timer, TimerCallback};