icann_rdap_common/
lib.rs

1#![allow(rustdoc::bare_urls)]
2#![doc = include_str!("../README.md")]
3pub mod check;
4pub mod contact;
5pub mod dns_types;
6pub mod httpdata;
7pub mod iana;
8pub mod media_types;
9pub mod rdns;
10pub mod response;
11
12/// Basics RDAP structures.
13pub mod prelude {
14    #[doc(inline)]
15    pub use crate::contact::*;
16    #[doc(inline)]
17    pub use crate::response::*;
18}
19
20#[cfg(debug_assertions)]
21use const_format::formatcp;
22
23/// Version of this software.
24#[cfg(not(any(target_arch = "wasm32", debug_assertions)))]
25pub const VERSION: &str = env!("CARGO_PKG_VERSION");
26
27/// Version of this software.
28#[cfg(debug_assertions)]
29pub const VERSION: &str = formatcp!("{}_DEV_BUILD", env!("CARGO_PKG_VERSION"));