aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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)]