cdns_rs/sync/mod.rs
1/*-
2 * cdns-rs - a simple sync/async DNS query library
3 *
4 * Copyright (C) 2020 Aleksandr Morozov
5 *
6 * Copyright 2025 Aleksandr Morozov
7 *
8 * Licensed under the EUPL, Version 1.2 or - as soon they will be approved by
9 * the European Commission - subsequent versions of the EUPL (the "Licence").
10 *
11 * You may not use this work except in compliance with the Licence.
12 *
13 * You may obtain a copy of the Licence at:
14 *
15 * https://joinup.ec.europa.eu/software/page/eupl
16 *
17 * Unless required by applicable law or agreed to in writing, software
18 * distributed under the Licence is distributed on an "AS IS" basis, WITHOUT
19 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
20 * Licence for the specific language governing permissions and limitations
21 * under the Licence.
22 */
23
24pub mod network;
25pub mod query;
26
27pub mod common;
28pub mod cfg_parsers;
29pub mod cfg_host_parser;
30pub mod cfg_resolv_parser;
31pub mod caches;
32
33pub mod request;
34
35mod query_polltaps;
36//mod query_private;
37
38#[macro_use] pub mod log;
39
40pub use crate::cfg_resolv_parser::ResolveConfig;
41pub use query::QDns;
42pub use crate::query::{QuerySetup, QDnsQueriesRes};
43pub use common::{QType, DnsRdata, QDnsName};