Clean up some comments
authorMatt Corallo <git@bluematt.me>
Thu, 8 Feb 2024 06:19:06 +0000 (06:19 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 8 Feb 2024 06:19:06 +0000 (06:19 +0000)
src/lib.rs
src/validation.rs

index c7027b0f1a36ad0310348a0c3720a4b3f6c04bf1..0cabe0177671153f0cc8ce4b9ca03c8e912ba46f 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
index 892cbf5d173b6f99869730958c97959665d389c7..999f7878cf9109d98e6ffb771980693067e33516 100644 (file)
@@ -200,7 +200,8 @@ where T: IntoIterator<IntoIter = I>, I: Iterator<Item = &'a DS> + Clone {
 /// Given a set of [`RR`]s, [`verify_rr_stream`] checks what it can and returns the set of
 /// non-[`RRSig`]/[`DnsKey`]/[`DS`] records which it was able to verify using this struct.
 ///
-/// It also contains
+/// It also contains signing and expiry times, which must be validated before considering the
+/// contained records verified.
 #[derive(Debug, Clone)]
 pub struct VerifiedRRStream<'a> {
        /// The set of verified [`RR`]s.