Silences the dead cap'n proto code warnings

This commit is contained in:
Gregor Reitzenstein 2020-11-10 13:37:07 +01:00
parent 62e1e9276f
commit 743de370ab

View File

@ -1,11 +1,14 @@
#[allow(dead_code)]
pub mod auth_capnp { pub mod auth_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/auth_capnp.rs")); include!(concat!(env!("OUT_DIR"), "/schema/auth_capnp.rs"));
} }
#[allow(dead_code)]
pub mod api_capnp { pub mod api_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/api_capnp.rs")); include!(concat!(env!("OUT_DIR"), "/schema/api_capnp.rs"));
} }
#[allow(dead_code)]
pub mod connection_capnp { pub mod connection_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/connection_capnp.rs")); include!(concat!(env!("OUT_DIR"), "/schema/connection_capnp.rs"));
} }