base_tokio/lib.rs
1// Copyright 2024 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5//! Tokio versions of type's defined in crosvm's `base` crate.
6
7mod sys {
8 cfg_if::cfg_if! {
9 if #[cfg(any(target_os = "android", target_os = "linux"))] {
10 pub mod linux;
11 pub use linux::*;
12 } else if #[cfg(windows)] {
13 pub mod windows;
14 pub use windows::*;
15 }
16 }
17}
18
19mod event;
20mod tube;
21
22pub use sys::event::EventTokio;
23pub use sys::tube::TubeTokio;