diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-10 12:55:43 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-10 12:55:43 +0200 |
commit | bd31dc85f8e9cb01c1e1a4e49fd4735d24a6da04 (patch) | |
tree | 50b63525480da0bee2ce713d69f02617c20bee8d /lib/warden-core | |
parent | 8deeab3e11f707677609047f5577a256cf28ed63 (diff) | |
download | warden-bd31dc85f8e9cb01c1e1a4e49fd4735d24a6da04.tar.bz2 warden-bd31dc85f8e9cb01c1e1a4e49fd4735d24a6da04.zip |
chore: collapse stack-up
Diffstat (limited to 'lib/warden-core')
-rw-r--r-- | lib/warden-core/build.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/warden-core/build.rs b/lib/warden-core/build.rs index 57e20e0..6d5efbb 100644 --- a/lib/warden-core/build.rs +++ b/lib/warden-core/build.rs @@ -9,17 +9,11 @@ enum Entity { #[cfg(any(feature = "message", feature = "pseudonyms"))] impl Entity { fn protos(&self) -> Vec<&'static str> { - let mut res: Vec<&'static str> = vec![ - // "proto/googleapis/google/type/date.proto", - // "proto/googleapis/google/type/money.proto", - // "proto/googleapis/google/type/latlng.proto", - ]; + let mut res: Vec<&'static str> = vec![]; #[cfg(feature = "message")] fn iso20022_protos() -> Vec<&'static str> { vec![ - // "proto/iso20022/pacs_008_001_12.proto", - // "proto/iso20022/pacs_002_001_12.proto", "proto/warden_message.proto", ] } @@ -60,7 +54,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> { #[cfg(feature = "pseudonyms")] protos.extend(Entity::Pseudonyms.protos()); -#[cfg(any(feature = "message", feature = "pseudonyms"))] + #[cfg(any(feature = "message", feature = "pseudonyms"))] build_proto(&protos)?; Ok(()) |