Adding upstream version 0.0.22.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
2f814b513a
commit
b06d3acde8
190 changed files with 61565 additions and 0 deletions
28
icann-rdap-common/src/lib.rs
Normal file
28
icann-rdap-common/src/lib.rs
Normal file
|
@ -0,0 +1,28 @@
|
|||
#![allow(rustdoc::bare_urls)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
pub mod check;
|
||||
pub mod contact;
|
||||
pub mod dns_types;
|
||||
pub mod httpdata;
|
||||
pub mod iana;
|
||||
pub mod media_types;
|
||||
pub mod response;
|
||||
|
||||
/// Basics RDAP structures.
|
||||
pub mod prelude {
|
||||
#[doc(inline)]
|
||||
pub use crate::contact::*;
|
||||
#[doc(inline)]
|
||||
pub use crate::response::*;
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
use const_format::formatcp;
|
||||
|
||||
/// Version of this software.
|
||||
#[cfg(not(any(target_arch = "wasm32", debug_assertions)))]
|
||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
/// Version of this software.
|
||||
#[cfg(debug_assertions)]
|
||||
pub const VERSION: &str = formatcp!("{}_DEV_BUILD", env!("CARGO_PKG_VERSION"));
|
Loading…
Add table
Add a link
Reference in a new issue