1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#![deny(warnings, rust_2018_idioms)]
#![allow(clippy::derive_partial_eq_without_eq)]
#![forbid(unsafe_code)]

#[cfg(feature = "destination")]
pub mod destination {
    include!("gen/io.linkerd.proxy.destination.rs");
}

#[cfg(feature = "grpc-route")]
pub mod grpc_route {
    include!("gen/io.linkerd.proxy.grpc_route.rs");
}

#[cfg(feature = "http-route")]
pub mod http_route {
    include!("gen/io.linkerd.proxy.http_route.rs");
}

#[cfg(feature = "http-types")]
pub mod http_types;

#[cfg(feature = "identity")]
pub mod identity {
    include!("gen/io.linkerd.proxy.identity.rs");
}

#[cfg(feature = "inbound")]
pub mod inbound {
    include!("gen/io.linkerd.proxy.inbound.rs");
}

#[cfg(feature = "outbound")]
pub mod outbound {
    include!("gen/io.linkerd.proxy.outbound.rs");
}

#[cfg(feature = "meta")]
pub mod meta {
    include!("gen/io.linkerd.proxy.meta.rs");
}

#[cfg(feature = "net")]
pub mod net;

#[cfg(feature = "tap")]
pub mod tap;