From 95e21eb9eaebb1b5fa344e29f7998d2be4904a26 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 9 Dec 2021 12:38:42 +0100 Subject: [PATCH] Reinstate contact module as a separate file --- src/contact.rs | 7 +++++++ src/lib.rs | 10 +--------- 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 src/contact.rs diff --git a/src/contact.rs b/src/contact.rs new file mode 100644 index 0000000..62f0e7c --- /dev/null +++ b/src/contact.rs @@ -0,0 +1,7 @@ +pub mod check; +pub mod create; +pub mod delete; +pub mod info; +pub mod update; + +pub const XMLNS: &str = "urn:ietf:params:xml:ns:contact-1.0"; diff --git a/src/lib.rs b/src/lib.rs index ec76f27..de8f007 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -99,15 +99,7 @@ pub mod request; pub mod response; pub mod xml; -pub mod contact { - pub mod check; - pub mod create; - pub mod delete; - pub mod info; - pub mod update; - - pub const XMLNS: &str = "urn:ietf:params:xml:ns:contact-1.0"; -} +pub mod contact; pub mod extensions { pub mod consolidate;