trust_dns_rustls/lib.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// LIBRARY WARNINGS
18#![warn(
19 clippy::dbg_macro,
20 clippy::print_stdout,
21 clippy::unimplemented,
22 clippy::use_self,
23 missing_copy_implementations,
24 missing_docs,
25 non_snake_case,
26 non_upper_case_globals,
27 rust_2018_idioms,
28 unreachable_pub
29)]
30#![allow(clippy::single_component_path_imports)]
31
32//! Deprecated and removed as of 0.21.0, see the dns-over-rustls feature in `trust-dns-proto`
33
34#![deprecated = "moved to trust_dns_proto::rustls"]
35
36pub use trust_dns_proto::rustls::*;