aboutsummaryrefslogtreecommitdiffstats
path: root/lib/warden-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warden-core/src')
-rw-r--r--lib/warden-core/src/configuration.rs3
-rw-r--r--lib/warden-core/src/google.rs1
-rw-r--r--lib/warden-core/src/lib.rs8
3 files changed, 10 insertions, 2 deletions
diff --git a/lib/warden-core/src/configuration.rs b/lib/warden-core/src/configuration.rs
new file mode 100644
index 0000000..da589c2
--- /dev/null
+++ b/lib/warden-core/src/configuration.rs
@@ -0,0 +1,3 @@
+pub mod routing {
+ tonic::include_proto!("configuration.routing");
+}
diff --git a/lib/warden-core/src/google.rs b/lib/warden-core/src/google.rs
index 30accb9..88f7037 100644
--- a/lib/warden-core/src/google.rs
+++ b/lib/warden-core/src/google.rs
@@ -5,6 +5,7 @@ pub mod protobuf {
include!(concat!(env!("OUT_DIR"), "/google.protobuf.rs"));
}
+#[cfg(any(feature = "message", feature = "pseudonyms"))]
pub mod r#type {
include!(concat!(env!("OUT_DIR"), "/google.r#type.rs"));
}
diff --git a/lib/warden-core/src/lib.rs b/lib/warden-core/src/lib.rs
index d039516..c97bef3 100644
--- a/lib/warden-core/src/lib.rs
+++ b/lib/warden-core/src/lib.rs
@@ -7,12 +7,12 @@
)]
/// Type file descriptor
-#[cfg(any(feature = "message", feature = "pseudonyms"))]
+#[cfg(any(feature = "message", feature = "pseudonyms", feature = "configuration"))]
pub const FILE_DESCRIPTOR_SET: &[u8] = tonic::include_file_descriptor_set!("warden_descriptor");
/// Google well known types
#[allow(missing_docs)]
-#[cfg(any(feature = "message", feature = "pseudonyms"))]
+#[cfg(any(feature = "message", feature = "pseudonyms", feature = "configuration"))]
pub mod google;
/// ISO20022 messages
@@ -29,3 +29,7 @@ pub mod message;
#[allow(missing_docs)]
#[cfg(feature = "pseudonyms")]
pub mod pseudonyms;
+
+#[allow(missing_docs)]
+#[cfg(feature = "configuration")]
+pub mod configuration;