Documentation
  • Coverage
  • 0%
    0 out of 8 items documented0 out of 5 items with examples
  • Size
  • Source code size: 4.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.47 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • dongri/mimers
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dongri

mimers

mimers provides useful MIME related functions. For Quoted-Printable and Base64 encoding

examples

extern crate mimers;

use mimers::{WordEncoder, Encoding};

fn main() {
  let encoder = WordEncoder::new("UTF-8", Encoding::QEncoding);
  let encoded_word = encoder.encode_word("abcあいうえお".to_string());
  println!("{}", encoded_word); // =?UTF-8?Q?abc=E3=81=82=E3=81=84=E3=81=86=E3=81=88=E3=81=8A?=
}