Crates.io | encoded-words |
lib.rs | encoded-words |
version | 0.2.0 |
source | src |
created_at | 2020-08-17 09:57:59.198973 |
updated_at | 2022-06-27 11:07:05.846605 |
description | Encoded Words for usage in MIME headers |
homepage | https://github.com/async-email/encoded-words |
repository | https://github.com/async-email/encoded-words |
max_upload_size | |
id | 277457 |
size | 39,778 |
Routines for manipulating RFC2047 encoded words. Based on the email package from Python 3.
use encoded_words::{EncodingFlag, encode};
assert_eq!(
&encode("foo", None, EncodingFlag::Shortest, None),
"=?utf-8?q?foo?="
);
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.