usdpl_core/lib.rs
1//! Datatypes and constants core the back-end and front-end libraries' operation.
2//! This contains serialization functionality and networking datatypes.
3#![warn(missing_docs)]
4
5#[cfg(not(any(feature = "decky")))]
6mod api_any;
7mod api_common;
8#[cfg(all(feature = "decky", not(any(feature = "any"))))]
9mod api_decky;
10
11/// USDPL core API.
12/// This contains functionality used in both the back-end and front-end.
13pub mod api {
14 #[cfg(not(any(feature = "decky")))]
15 pub use super::api_any::*;
16 pub use super::api_common::*;
17 #[cfg(all(feature = "decky", not(any(feature = "any"))))]
18 pub use super::api_decky::*;
19}