aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-08-10 18:07:13 +0200
committerrtkay123 <dev@kanjala.com>2025-08-10 18:07:13 +0200
commita9aef1863ff0fe0422eee403f85644fc76952e80 (patch)
treea233ca1ca7fb38d06592fa7296382b5e9b478d62 /lib
parent8b4f27d2c39d1e1f5f1cc455c58800e806ee98d0 (diff)
downloadwarden-a9aef1863ff0fe0422eee403f85644fc76952e80.tar.bz2
warden-a9aef1863ff0fe0422eee403f85644fc76952e80.zip
feat(warden): save history
Diffstat (limited to 'lib')
-rw-r--r--lib/warden-core/build.rs6
-rw-r--r--lib/warden-core/src/lib.rs3
2 files changed, 3 insertions, 6 deletions
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<dyn std::error::Error>> {
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)]