linkerd2_proxy_api/
lib.rs

1#![deny(warnings, rust_2018_idioms)]
2#![allow(clippy::derive_partial_eq_without_eq, clippy::large_enum_variant)]
3#![forbid(unsafe_code)]
4
5#[cfg(feature = "destination")]
6pub mod destination {
7    include!("gen/io.linkerd.proxy.destination.rs");
8}
9
10#[cfg(feature = "grpc-route")]
11pub mod grpc_route {
12    include!("gen/io.linkerd.proxy.grpc_route.rs");
13}
14
15#[cfg(feature = "tls-route")]
16pub mod tls_route {
17    include!("gen/io.linkerd.proxy.tls_route.rs");
18}
19
20#[cfg(feature = "opaque-route")]
21pub mod opaque_route {
22    include!("gen/io.linkerd.proxy.opaque_route.rs");
23}
24
25#[cfg(feature = "http-route")]
26pub mod http_route {
27    include!("gen/io.linkerd.proxy.http_route.rs");
28}
29
30#[cfg(feature = "http-types")]
31pub mod http_types;
32
33#[cfg(feature = "identity")]
34pub mod identity {
35    include!("gen/io.linkerd.proxy.identity.rs");
36}
37
38#[cfg(feature = "inbound")]
39pub mod inbound {
40    include!("gen/io.linkerd.proxy.inbound.rs");
41}
42
43#[cfg(feature = "outbound")]
44pub mod outbound {
45    include!("gen/io.linkerd.proxy.outbound.rs");
46}
47
48#[cfg(feature = "meta")]
49pub mod meta {
50    include!("gen/io.linkerd.proxy.meta.rs");
51}
52
53#[cfg(feature = "net")]
54pub mod net;
55
56#[cfg(feature = "tap")]
57pub mod tap;