Add trivial helper method to get the label count in a `Name`
[dnssec-prover] / src / lib.rs
index c7027b0f1a36ad0310348a0c3720a4b3f6c04bf1..902f6a35853966c26ed8b99214863cad0d6c3052 100644 (file)
@@ -14,7 +14,7 @@
 //! It is no-std (but requires `alloc`) and seeks to have minimal dependencies and a reasonably
 //! conservative MSRV policy, allowing it to be used in as many places as possible.
 //!
-//! Most of the crate's logic is feature-gated:
+//! Most of the crate's logic is feature-gated, and *all dependencies are optional*:
 //!  * By default, the `validate` feature is set, using `ring` to validate DNSSEC signatures and
 //!    proofs using the [`validation`] module.
 //!  * The `std` feature enables the [`query`] module, allowing for the building of proofs by
 //!    proofs.
 
 #![deny(missing_docs)]
+#![deny(rustdoc::broken_intra_doc_links)]
+#![deny(rustdoc::private_intra_doc_links)]
 
 #![cfg_attr(not(feature = "std"), no_std)]
 extern crate alloc;
 
 pub mod rr;
 pub mod ser;
+pub mod query;
 
 #[cfg(feature = "validation")]
 pub mod validation;
-
-#[cfg(feature = "std")]
-pub mod query;