1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#[cfg(feature = "tonic-build")] mod pb { tonic::include_proto!("autd3"); } #[cfg(not(feature = "tonic-build"))] mod pb; mod error; #[cfg(feature = "lightweight")] pub mod lightweight; mod traits; pub use error::*; pub use traits::*; pub use pb::*;