<NME> lib.rs
<BEF> #![warn(rust_2018_idioms)]
// If no backend is enabled, a large portion of the codebase is unused.
// So silence this useless warning for the CI.
#![cfg_attr(
    not(any(feature = "winit", feature = "x11", feature = "udev")),
    allow(dead_code, unused_imports)
)]

#[macro_use]
extern crate slog;

#[cfg(feature = "udev")]
pub mod cursor;
pub mod drawing;
pub mod input_handler;
pub mod output_map;
pub mod render;
pub mod shell;
pub mod state;
pub mod udev;
#[cfg(feature = "winit")]
pub mod winit;
#[cfg(feature = "x11")]
pub mod x11;
#[cfg(feature = "xwayland")]
pub mod xwayland;

pub use state::{AnvilState, CalloopData, ClientState};

<MSG> Fence the module I guess


<DFF> @@ -14,6 +14,7 @@ pub mod cursor;
 pub mod drawing;
 pub mod input_handler;
 pub mod output_map;
+#[cfg(any(feature = "udev", feature = "winit"))]
 pub mod render;
 pub mod shell;
 pub mod state;

Fence the module I guess