drop mailparse from the public docs
This commit is contained in:
@@ -310,7 +310,7 @@ pub(crate) fn build_headers<'a, H: Header<'a>>(
|
|||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// [`CowMailError::Parse`] when [`mailparse::parse_headers`] rejects the block.
|
/// [`CowMailError::Parse`] when the block is malformed.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|||||||
+2
-2
@@ -191,7 +191,7 @@ pub trait Header<'a>: Clone + Display {
|
|||||||
///
|
///
|
||||||
/// The whole value is rewritten, which has two visible consequences: the parameters come back
|
/// The whole value is rewritten, which has two visible consequences: the parameters come back
|
||||||
/// in alphabetical order, and the mimetype is lowercased — both because the value round-trips
|
/// in alphabetical order, and the mimetype is lowercased — both because the value round-trips
|
||||||
/// through [`mailparse::parse_content_type`]. Parameter values are always quoted.
|
/// through the parser. Parameter values are always quoted.
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
///
|
///
|
||||||
@@ -422,7 +422,7 @@ fn build_header<'a, H: Header<'a>>(
|
|||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// [`CowMailError::Parse`] when [`mailparse::parse_header`] rejects the line.
|
/// [`CowMailError::Parse`] when the line is not a header.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|||||||
+5
-5
@@ -1620,14 +1620,14 @@ impl std::io::Read for CowMailReader<'_> {
|
|||||||
/// Generic over the header representation; [`CowMail::try_from`] is the same thing fixed to
|
/// Generic over the header representation; [`CowMail::try_from`] is the same thing fixed to
|
||||||
/// [`CowHeader`] and is the usual way in.
|
/// [`CowHeader`] and is the usual way in.
|
||||||
///
|
///
|
||||||
/// The MIME structure is decided by [`mailparse::parse_mail`] — boundary matching,
|
/// The MIME structure — boundary matching, `multipart/digest` propagation, the limit on nesting
|
||||||
/// `multipart/digest` propagation, and its limit on nesting depth. What this adds is the
|
/// depth — is decided by the parser the crate uses internally. What this adds is the separators
|
||||||
/// separators mailparse discards, which is what makes [`CowMail::serialize`] byte-exact.
|
/// that parser discards, which is what makes [`CowMail::serialize`] byte-exact.
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// [`CowMailError::Parse`] when mailparse rejects the message; the other variants signal
|
/// [`CowMailError::Parse`] when the message is malformed; the other variants signal a broken
|
||||||
/// a broken invariant of the bridge to mailparse and should not occur.
|
/// invariant of the bridge to the parser and should not occur.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user