1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! This crate provides utilities to handle quoted strings like such appearing
//! in Media Types (both MIME (i.e. Mail) and HTTP). As there are many small but significant
//! differences in different specifications this crate does not provide
//! a specific implementation. Instead a `QuotedStringSpec` trait is
//! exposed. Implementing it (on zero-sized structs) should allow the
//! usage with any quoted-string specification.
//!
//!
//!
//TODO add new/updated documentation
//#![warn(missing_docs)]



pub use iter::{ContentChars, AsciiCaseInsensitiveEq};
pub use unquote::{
    to_content, strip_dquotes
};
pub use quote::{
    quote, quote_if_needed
};
pub use parse::{validate, parse, Parsed};


pub mod spec;
mod iter;
mod unquote;
mod quote;
mod parse;
pub mod error;
pub mod test_utils;