encoded-words

Crates.ioencoded-words
lib.rsencoded-words
version0.2.0
sourcesrc
created_at2020-08-17 09:57:59.198973
updated_at2022-06-27 11:07:05.846605
descriptionEncoded Words for usage in MIME headers
homepagehttps://github.com/async-email/encoded-words
repositoryhttps://github.com/async-email/encoded-words
max_upload_size
id277457
size39,778
Friedel Ziegelmayer (dignifiedquire)

documentation

https://docs.rs/encoded-words/

README

encoded-words

Routines for manipulating RFC2047 encoded words. Based on the email package from Python 3.

Example

use encoded_words::{EncodingFlag, encode};

assert_eq!(
    &encode("foo", None, EncodingFlag::Shortest, None),
    "=?utf-8?q?foo?="
);

License

Licensed under either of

Contribution

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.

Commit count: 5

cargo fmt