From a9aef1863ff0fe0422eee403f85644fc76952e80 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Sun, 10 Aug 2025 18:07:13 +0200 Subject: feat(warden): save history --- lib/warden-core/build.rs | 6 ++---- lib/warden-core/src/lib.rs | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/warden-core/build.rs b/lib/warden-core/build.rs index 6d5efbb..1f71f35 100644 --- a/lib/warden-core/build.rs +++ b/lib/warden-core/build.rs @@ -13,9 +13,7 @@ impl Entity { #[cfg(feature = "message")] fn iso20022_protos() -> Vec<&'static str> { - vec![ - "proto/warden_message.proto", - ] + vec!["proto/warden_message.proto"] } #[cfg(feature = "pseudonyms")] @@ -45,7 +43,7 @@ impl Entity { fn main() -> Result<(), Box> { println!("cargo:rerun-if-changed=../../proto"); -#[cfg(any(feature = "message", feature = "pseudonyms"))] + #[cfg(any(feature = "message", feature = "pseudonyms"))] let mut protos: Vec<&'static str> = vec![]; #[cfg(feature = "message")] diff --git a/lib/warden-core/src/lib.rs b/lib/warden-core/src/lib.rs index 53f25f2..d039516 100644 --- a/lib/warden-core/src/lib.rs +++ b/lib/warden-core/src/lib.rs @@ -8,8 +8,7 @@ /// Type file descriptor #[cfg(any(feature = "message", feature = "pseudonyms"))] -pub const FILE_DESCRIPTOR_SET: &[u8] = - tonic::include_file_descriptor_set!("warden_descriptor"); +pub const FILE_DESCRIPTOR_SET: &[u8] = tonic::include_file_descriptor_set!("warden_descriptor"); /// Google well known types #[allow(missing_docs)] -- cgit v1.2.3