From ae0a6589a934d36530008a07c0a33712d7d86962 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 9 Dec 2021 12:26:22 +0100 Subject: [PATCH] Reinstate domain module as a separate file --- src/domain.rs | 11 +++++++++++ src/lib.rs | 13 +------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 src/domain.rs diff --git a/src/domain.rs b/src/domain.rs new file mode 100644 index 0000000..41180bc --- /dev/null +++ b/src/domain.rs @@ -0,0 +1,11 @@ +pub mod check; +pub mod create; +pub mod delete; +pub mod info; +pub mod renew; +pub mod transfer; +pub mod update; + +pub const XMLNS: &str = "urn:ietf:params:xml:ns:domain-1.0"; + + diff --git a/src/lib.rs b/src/lib.rs index 11ee632..ec76f27 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -90,6 +90,7 @@ pub mod client; pub mod common; pub mod connection; +pub mod domain; pub mod error; pub mod hello; pub mod login; @@ -108,18 +109,6 @@ pub mod contact { pub const XMLNS: &str = "urn:ietf:params:xml:ns:contact-1.0"; } -pub mod domain { - pub mod check; - pub mod create; - pub mod delete; - pub mod info; - pub mod renew; - pub mod transfer; - pub mod update; - - pub const XMLNS: &str = "urn:ietf:params:xml:ns:domain-1.0"; -} - pub mod extensions { pub mod consolidate; pub mod namestore;