mirror of
https://github.com/lexmount/moli.git
synced 2026-09-28 08:01:37 +00:00
25 lines
734 B
Rust
25 lines
734 B
Rust
//! Browser-compatible text, document, form, script, and URL encoding helpers.
|
|
|
|
mod document;
|
|
mod form;
|
|
mod labels;
|
|
mod legacy_text;
|
|
mod percent;
|
|
mod query;
|
|
mod script;
|
|
|
|
pub use document::{
|
|
HtmlDocumentStreamingDecoder, decode_html_document, decode_html_document_with_fallback,
|
|
};
|
|
pub use form::{
|
|
encode_text_for_legacy_web, form_output_encoding, form_output_encoding_for_label,
|
|
form_submission_encoding, form_urlencoded_serialize_pairs, is_charset_sentinel_name,
|
|
};
|
|
pub use labels::{charset_from_content_type, charset_from_headers, encoding_for_label};
|
|
pub use legacy_text::decode_text_for_legacy_web;
|
|
pub use query::encode_url_query_for_legacy_web;
|
|
pub use script::decode_classic_script_source;
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|