From 743de370ab3ba9078da54f83c45238025432e319 Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Tue, 10 Nov 2020 13:37:07 +0100 Subject: [PATCH] Silences the dead cap'n proto code warnings --- src/schema.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/schema.rs b/src/schema.rs index 06fb286..9dab20f 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -1,11 +1,14 @@ +#[allow(dead_code)] pub mod auth_capnp { include!(concat!(env!("OUT_DIR"), "/schema/auth_capnp.rs")); } +#[allow(dead_code)] pub mod api_capnp { include!(concat!(env!("OUT_DIR"), "/schema/api_capnp.rs")); } +#[allow(dead_code)] pub mod connection_capnp { include!(concat!(env!("OUT_DIR"), "/schema/connection_capnp.rs")); }