From 597361f57e9440182eeed46021b7a55b0ededdfd Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 14 Nov 2024 19:43:58 +0100 Subject: [PATCH] feat: added feature attr. --- build/rust/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/rust/src/lib.rs b/build/rust/src/lib.rs index 11bb7d5..06533dd 100644 --- a/build/rust/src/lib.rs +++ b/build/rust/src/lib.rs @@ -1,11 +1,14 @@ +#[cfg(feature = "sagittarius")] pub mod sagittarius { include!("generated/sagittarius.rs"); } +#[cfg(feature = "aquila")] pub mod aquila { include!("generated/aquila.rs"); } +#[cfg(feature = "shared")] pub mod shared { include!("generated/shared.rs"); } \ No newline at end of file