trust_dns_proto/rr/mod.rs
1/*
2 * Copyright (C) 2015 Benjamin Fry <benjaminfry@me.com>
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17//! Resource record related components, e.g. `Name` aka label, `Record`, `RData`, ...
18
19pub mod dns_class;
20// TODO: rename to sec
21#[cfg(feature = "dnssec")]
22#[cfg_attr(docsrs, doc(cfg(feature = "dnssec")))]
23pub mod dnssec;
24pub mod domain;
25pub mod rdata;
26pub mod record_data;
27pub mod record_type;
28pub mod resource;
29mod rr_set;
30pub mod type_bit_map;
31
32pub use self::dns_class::DNSClass;
33pub use self::domain::{IntoName, Name, TryParseIp};
34pub use self::record_data::RData;
35pub use self::record_type::RecordType;
36pub use self::resource::Record;
37#[allow(deprecated)]
38pub use self::rr_set::IntoRecordSet;
39pub use self::rr_set::RecordSet;
40pub use self::rr_set::RrsetRecords;