Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
google
GitHub Repository: google/crosvm
Path: blob/main/base_tokio/src/lib.rs
5392 views
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
7
mod 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
19
mod event;
20
mod tube;
21
22
pub use sys::event::EventTokio;
23
pub use sys::tube::TubeTokio;
24
25