1#![warn(missing_debug_implementations, rust_2018_idioms, unreachable_pub)]
3
4pub mod builder;
6pub mod error;
7pub mod frame;
8pub mod pixel_format;
9pub mod telemetry;
10pub mod time;
11pub mod traits;
12
13pub mod prelude {
15 pub use crate::builder::{CameraConfig, Priority};
16 pub use crate::error::{CameraError, Result};
17 pub use crate::frame::{Frame, FrameMetadata};
18 pub use crate::traits::{DeviceControls, Driver, Stream};
19
20 #[cfg(unix)]
21 pub use crate::frame::AsDmaBuf;
22
23 #[cfg(windows)]
24 pub use crate::frame::AsDxResource;
25}
26
27pub use async_trait::async_trait;
29pub use futures_core::Stream as FuturesStream;
30
31pub const VERSION: &str = env!("CARGO_PKG_VERSION");