ev_types/lib.rs
1pub mod v1 {
2 // Always include the pure message types (no tonic dependencies)
3 #[cfg(not(feature = "grpc"))]
4 include!("proto/evnode.v1.messages.rs");
5
6 // Include the full version with gRPC services when the feature is enabled
7 #[cfg(feature = "grpc")]
8 include!("proto/evnode.v1.services.rs");
9}