aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgitmail/Cargo.toml2
-rw-r--r--libgitmail/src/patch/mod.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/libgitmail/Cargo.toml b/libgitmail/Cargo.toml
index c823723..b053bcc 100644
--- a/libgitmail/Cargo.toml
+++ b/libgitmail/Cargo.toml
@@ -9,4 +9,6 @@ license = "GPL-3.0"
[dependencies]
mailparse = "0.10"
nom = "5.0"
+
+[dev-dependencies]
quickcheck = "0.9" \ No newline at end of file
diff --git a/libgitmail/src/patch/mod.rs b/libgitmail/src/patch/mod.rs
index b4b09a4..ea31a0c 100644
--- a/libgitmail/src/patch/mod.rs
+++ b/libgitmail/src/patch/mod.rs
@@ -53,6 +53,8 @@ pub struct Patch<'mail> {
}
impl<'mail> Patch<'mail> {
+
+ /// Hidden function that should only be used
#[doc(hidden)]
pub fn preprocess(raw: &'mail str) -> HeaderMap {
let mail = mailparse::parse_mail(raw.as_bytes())