quoted_string/
lib.rs

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