ICANN RDAP
This repository contains open source code written by the Internet Corporation for Assigned Names and Numbers (ICANN) for use with the Registry Data Access Protocol (RDAP). RDAP is standard of the IETF, and extensions to RDAP are a current work activity of the IETF's REGEXT working group.
THIS PROJECT IS IN ALPHA STAGE. You are welcome to use it and file issues or bug reports, however there are no guarantees as to timeliness of responses.
Installation
Add the library to your Cargo.toml: cargo add icann-rdap-common.
This library can be compiled for WASM targets.
Usage
// create an RDAP domain
use Domain;
let domain = basic.ldh_name.build;
// create an IP network
use IpCidr;
let cidr = from_str.unwrap;
use Network;
let net = basic.cidr.build;
// create a nameserver
use Nameserver;
let ns = basic.ldh_name.build;
// create an autnum
use Autnum;
let autnum = basic.autnum.build;
// create an entity
use Entity;
let entity = basic.handle.build;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Contribution
Unless you explicitly state otherwise, any contribution, as defined in the Apache-2.0 license, intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed pursuant to the Apache License, Version 2.0 or the MIT License referenced as above, at ICANN’s option, without any additional terms or conditions.