From 82f9ef79ac1df5c994c8ab87ba12ac3456a6c567 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 27 May 2024 10:57:20 +0200 Subject: [PATCH] Move rgp module into a separate file --- src/extensions/rgp/mod.rs | 8 ++++++++ src/lib.rs | 14 ++------------ 2 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 src/extensions/rgp/mod.rs diff --git a/src/extensions/rgp/mod.rs b/src/extensions/rgp/mod.rs new file mode 100644 index 0000000..5c81cf4 --- /dev/null +++ b/src/extensions/rgp/mod.rs @@ -0,0 +1,8 @@ +//! Mapping for the Registry Grace Period extension +//! +//! As described in [RFC 3915](https://tools.ietf.org/html/rfc3915). + +pub mod report; +pub mod request; + +pub const XMLNS: &str = "urn:ietf:params:xml:ns:rgp-1.0"; diff --git a/src/lib.rs b/src/lib.rs index 988724d..753b610 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,21 +52,11 @@ pub mod xml; pub mod extensions { pub mod consolidate; + pub mod frnic; pub mod low_balance; pub mod namestore; - - /// Mapping for the Registry Grace Period extension - /// - /// As described in [RFC 3915](https://tools.ietf.org/html/rfc3915). - pub mod rgp { - pub mod report; - pub mod request; - - pub const XMLNS: &str = "urn:ietf:params:xml:ns:rgp-1.0"; - } + pub mod rgp; pub mod secdns; - - pub mod frnic; } pub use client::EppClient;