90 lines
1.7 KiB
Rust
90 lines
1.7 KiB
Rust
#![feature(
|
|
c_variadic, // https://github.com/rust-lang/rust/issues/44930
|
|
thread_local, // https://github.com/rust-lang/rust/issues/29594
|
|
label_break_value, // https://github.com/rust-lang/rust/issues/48594
|
|
generic_associated_types, // https://github.com/rust-lang/rust/issues/44265
|
|
extern_types, // https://github.com/rust-lang/rust/issues/43467
|
|
)]
|
|
#![allow(
|
|
clippy::len_zero,
|
|
clippy::needless_lifetimes,
|
|
clippy::enum_variant_names,
|
|
clippy::useless_format,
|
|
clippy::redundant_clone,
|
|
clippy::collapsible_if,
|
|
clippy::match_like_matches_macro,
|
|
clippy::collapsible_else_if,
|
|
clippy::identity_op,
|
|
clippy::module_inception,
|
|
clippy::single_char_pattern,
|
|
clippy::too_many_arguments,
|
|
clippy::from_over_into,
|
|
clippy::single_match,
|
|
clippy::upper_case_acronyms,
|
|
clippy::manual_map,
|
|
clippy::type_complexity,
|
|
clippy::option_map_unit_fn,
|
|
clippy::wrong_self_convention,
|
|
clippy::single_char_add_str,
|
|
clippy::ptr_eq
|
|
)]
|
|
|
|
#[macro_use]
|
|
mod macros;
|
|
#[macro_use]
|
|
mod leaks;
|
|
mod acceptor;
|
|
mod async_engine;
|
|
mod backend;
|
|
mod backends;
|
|
mod bugs;
|
|
mod cli;
|
|
mod client;
|
|
mod clientmem;
|
|
mod compositor;
|
|
mod config;
|
|
mod cursor;
|
|
mod dbus;
|
|
mod edid;
|
|
mod fixed;
|
|
mod forker;
|
|
mod format;
|
|
mod globals;
|
|
mod ifs;
|
|
mod io_uring;
|
|
#[cfg(feature = "it")]
|
|
mod it;
|
|
mod libinput;
|
|
mod logger;
|
|
mod logind;
|
|
mod object;
|
|
mod pango;
|
|
mod pipewire;
|
|
mod portal;
|
|
mod rect;
|
|
mod render;
|
|
mod screenshoter;
|
|
mod sighand;
|
|
mod state;
|
|
mod tasks;
|
|
mod text;
|
|
mod theme;
|
|
mod time;
|
|
mod tools;
|
|
mod tree;
|
|
mod udev;
|
|
mod user_session;
|
|
mod utils;
|
|
mod video;
|
|
mod wheel;
|
|
mod wire;
|
|
mod wire_dbus;
|
|
mod wire_xcon;
|
|
mod wl_usr;
|
|
mod xcon;
|
|
mod xkbcommon;
|
|
mod xwayland;
|
|
|
|
fn main() {
|
|
cli::main();
|
|
}
|