diff --git a/extension/src/lib.rs b/extension/src/lib.rs index a8f2acb9156..bf0aaf6cd89 100644 --- a/extension/src/lib.rs +++ b/extension/src/lib.rs @@ -3,31 +3,22 @@ //! ACE3 Extension for quick maths and OS APIs -use arma_rs::{arma, Extension, Group}; +use arma_rs::{arma, Extension}; mod artillery; pub mod ballistics; mod break_line; +mod clipboard; mod common; mod fcs; -#[cfg(feature = "clipboard")] -mod clipboard; - #[arma] fn init() -> Extension { Extension::build() .version(env!("GIT_HASH").to_string()) .group("artillery", artillery::group()) .group("ballistics", ballistics::group()) - .group( - "clipboard", - if cfg!(feature = "clipboard") { - clipboard::group() - } else { - Group::new() - }, - ) + .group("clipboard", clipboard::group()) .command("break_line", break_line::break_line) .command("fcs", fcs::get_solution) .command("version", || env!("GIT_HASH"))