Use inline modules for intermediate layer

(Skip `connection` since it is dissolved in #29.)
This commit is contained in:
Dirkjan Ochtman 2021-12-02 10:53:28 +01:00 committed by masalachai
parent 9f41f4263e
commit ef25041cce
5 changed files with 38 additions and 30 deletions

View File

@ -1,7 +0,0 @@
pub mod check;
pub mod create;
pub mod delete;
pub mod info;
pub mod update;
pub const EPP_CONTACT_XMLNS: &str = "urn:ietf:params:xml:ns:contact-1.0";

View File

@ -1,10 +0,0 @@
pub mod check;
pub mod create;
pub mod delete;
pub mod info;
pub mod renew;
pub mod rgp;
pub mod transfer;
pub mod update;
pub const EPP_DOMAIN_XMLNS: &str = "urn:ietf:params:xml:ns:domain-1.0";

View File

@ -1,7 +0,0 @@
pub mod check;
pub mod create;
pub mod delete;
pub mod info;
pub mod update;
pub const EPP_HOST_XMLNS: &str = "urn:ietf:params:xml:ns:host-1.0";

View File

@ -103,19 +103,53 @@ extern crate log;
pub mod client; pub mod client;
pub mod common; pub mod common;
pub mod config; pub mod config;
pub mod contact;
pub mod domain;
pub mod error; pub mod error;
pub mod hello; pub mod hello;
pub mod host;
pub mod login; pub mod login;
pub mod logout; pub mod logout;
pub mod message;
pub mod registry; pub mod registry;
pub mod request; pub mod request;
pub mod response; pub mod response;
pub mod xml; pub mod xml;
pub mod contact {
pub mod check;
pub mod create;
pub mod delete;
pub mod info;
pub mod update;
pub const EPP_CONTACT_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 rgp;
pub mod transfer;
pub mod update;
pub const EPP_DOMAIN_XMLNS: &str = "urn:ietf:params:xml:ns:domain-1.0";
}
pub mod host {
pub mod check;
pub mod create;
pub mod delete;
pub mod info;
pub mod update;
pub const EPP_HOST_XMLNS: &str = "urn:ietf:params:xml:ns:host-1.0";
}
pub mod message {
pub mod ack;
pub mod poll;
}
pub use client::default_client_tr_id_fn as generate_client_tr_id; pub use client::default_client_tr_id_fn as generate_client_tr_id;
pub use client::EppClient; pub use client::EppClient;

View File

@ -1,2 +0,0 @@
pub mod ack;
pub mod poll;