You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
424B

  1. //#![feature(test)]
  2. //extern crate melib;
  3. //
  4. //use melib::mailbox::backends::maildir::MaildirOp;
  5. //use melib::mailbox::email::Envelope;
  6. //
  7. //extern crate test;
  8. //use self::test::Bencher;
  9. /*
  10. #[bench]
  11. fn mail_parse(b: &mut Bencher) {
  12. b.iter(|| {
  13. Envelope::from(Box::new(BackendOpGenerator::new(Box::new(move || {
  14. Box::new(MaildirOp::new("test/attachment_test".to_string()))
  15. }))))
  16. });
  17. }
  18. */