#![cfg_attr(
all(
feature = "system",
feature = "disk",
feature = "component",
feature = "gpu",
feature = "network",
feature = "user"
),
doc = include_str!("../README.md")
)]
#![cfg_attr(
not(all(
feature = "system",
feature = "disk",
feature = "component",
feature = "gpu",
feature = "network",
feature = "user"
)),
doc = "Crate-level documentation is rendered when all features are enabled."
)]
#![cfg_attr(
feature = "serde",
doc = "Enabling `serde` makes public types serializable."
)]
#![allow(unknown_lints)]
#![deny(missing_docs)]
#![deny(rustdoc::broken_intra_doc_links)]
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::non_send_fields_in_send_ty)]
#![allow(renamed_and_removed_lints)]
#![allow(clippy::assertions_on_constants)]
#[macro_use]
mod support;
mod platform;
#[allow(unused_imports)]
use crate::platform::sys;
#[cfg(feature = "component")]
pub mod component;
#[cfg(feature = "disk")]
pub mod disk;
#[cfg(feature = "gpu")]
pub mod gpu;
#[cfg(feature = "hardware")]
pub mod hardware;
#[cfg(feature = "network")]
pub mod network;
#[cfg(feature = "system")]
pub mod system;
#[cfg(feature = "user")]
pub mod user;
pub mod common;
pub mod prelude;
mod internal;
#[allow(unused_imports)]
pub(crate) use internal::reexports::*;
#[cfg(all(feature = "fuzzing", target_os = "linux"))]
#[doc(hidden)]
pub use internal::fuzzing;
pub use crate::support::error::Error;
#[cfg(any())]
mod network;
#[cfg(any())]
mod platform;