1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2021 TiKV Project Authors. Licensed under Apache-2.0.

#[cfg(feature = "prost-codec")]
mod reexports {
    include!("proto/prost/grpc.health.v1.rs");

    pub use self::health_check_response::ServingStatus;
}

#[cfg(feature = "protobuf-codec")]
mod protobuf {
    #[allow(deprecated)]
    pub mod health;
    pub mod health_grpc;
}
#[cfg(feature = "protobuf-codec")]
mod reexports {
    pub use super::protobuf::health::*;
    pub use super::protobuf::health_grpc::*;
}

pub use self::reexports::*;