aboutsummaryrefslogtreecommitdiffstats
path: root/lib/warden-core/src/lib.rs
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-08-08 08:01:13 +0200
committerrtkay123 <dev@kanjala.com>2025-08-08 08:01:13 +0200
commitfd81550cd9b49c138f384dd7c097729d66f1e0b0 (patch)
tree8566e9647715c9a5af09a3d7a6bace77f0c86f71 /lib/warden-core/src/lib.rs
parent68a4edcdf7af5e8c5eef04b9b65683229644f29a (diff)
downloadwarden-fd81550cd9b49c138f384dd7c097729d66f1e0b0.tar.bz2
warden-fd81550cd9b49c138f384dd7c097729d66f1e0b0.zip
build(proto): compile time iso20022 types
Diffstat (limited to 'lib/warden-core/src/lib.rs')
-rw-r--r--lib/warden-core/src/lib.rs27
1 files changed, 15 insertions, 12 deletions
diff --git a/lib/warden-core/src/lib.rs b/lib/warden-core/src/lib.rs
index b93cf3f..111ce5d 100644
--- a/lib/warden-core/src/lib.rs
+++ b/lib/warden-core/src/lib.rs
@@ -1,14 +1,17 @@
-pub fn add(left: u64, right: u64) -> u64 {
- left + right
-}
+//! warden-core
+#![cfg_attr(docsrs, feature(doc_cfg))]
+#![warn(
+ missing_docs,
+ rustdoc::broken_intra_doc_links,
+ missing_debug_implementations
+)]
-#[cfg(test)]
-mod tests {
- use super::*;
+/// Google well known types
+#[allow(missing_docs)]
+#[cfg(feature = "iso20022")]
+pub mod google;
- #[test]
- fn it_works() {
- let result = add(2, 2);
- assert_eq!(result, 4);
- }
-}
+/// ISO20022 messages
+#[allow(missing_docs)]
+#[cfg(feature = "iso20022")]
+pub mod iso20022;