Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-05 | Move header related code to header modulebreak-into-modules | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-10-05 | Move functions to util module | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-10-05 | Move error type to own module | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2019-08-05 | Version bump to 0.8.2 | Kartikaya Gupta | |
2019-08-05 | Prevent possible underflow | Kartikaya Gupta | |
Fixes #43 | |||
2019-07-31 | Version bump to 0.8.1 | Kartikaya Gupta | |
2019-07-31 | Skip past unterminated =? escape string | Kartikaya Gupta | |
This fixes a panic where we stupidly advance our byte index by 2 when encountering an unterminated escape. Doing this is inefficient because we'll probably just find the same unterminated escape a bunch of times, but can also put our byte index in the middle of a UTF-8 character which causes a panic. Fixes #41 | |||
2019-06-10 | Add LICENSE file | Kartikaya Gupta | |
2019-06-06 | Version bump to 0.8.0 | Kartikaya Gupta | |
2019-06-04 | Allow access to encoded body | ufoscout | |
2019-06-04 | Run rustfmt and add it to travis checks | Kartikaya Gupta | |
2019-05-23 | Version bump to 0.7.0 since the dependency graph changed somewhat | Kartikaya Gupta | |
2019-05-23 | Stop using deprecated trim_left/right | Kartikaya Gupta | |
2019-05-23 | Ignore all of target/ | Kartikaya Gupta | |
2019-05-23 | Bump base64 to avoid having two different versions as dependencies | Kartikaya Gupta | |
2019-05-23 | Test UTF-7 in body | Henri Sivonen | |
2019-05-23 | Test UTF-7 in headers | Henri Sivonen | |
2019-05-23 | Test ISO-2022-JP in headers | Henri Sivonen | |
2019-05-23 | Use the charset crate instead of the encoding crate | Henri Sivonen | |
Adds support for UTF-7 and drops support for HZ. | |||
2019-02-10 | Version bump to 0.6.5 | Kartikaya Gupta | |
2019-02-10 | Fix panic when encountering param content with new line | Lewis Diamond | |
2018-12-21 | it appears these are in reverse order - docs.rs is obviously not a valid url | Sean Enck | |
2018-09-12 | Bump to 0.6.4 | Kartikaya Gupta | |
2018-09-12 | Implement MailHeaderMap for [MailHeader] instead of Vec<MailHeader> | Jos van den Oever | |
2018-09-12 | key.len() > 0 -> !key.is_empty() | Jos van den Oever | |
clippy::len_zero | |||
2018-09-07 | Prefer map_err(|e| e.into()) over explicit error | Thomas Hurst | |
2018-09-07 | Replace try_none! with ? | Thomas Hurst | |
2018-09-07 | Tidy get_body_raw() | Thomas Hurst | |
This saves an allocation of the empty string in the no-Content-Transfer-Encoding case. | |||
2018-09-07 | Tidy get_body_raw() with is_ascii_whitespace() | Thomas Hurst | |
Semantics aren't *identical*, since this adds vertical tab to the filter. | |||
2018-09-07 | Tidy parse_param_content | Thomas Hurst | |
2018-09-07 | Convert try! to ? | Thomas Hurst | |
2018-09-07 | Tidy is_boundary() | Thomas Hurst | |
2018-09-07 | Tidy MailHeader::get_key | Thomas Hurst | |
2018-09-05 | Bump to 0.6.3 | Kartikaya Gupta | |
2018-09-05 | Remove documentation stuff; point to docs.rs | Kartikaya Gupta | |
2018-09-05 | Use i64::from(x) over x as i64 | Thomas Hurst | |
clippy:cast_lossless | |||
2018-09-05 | Use if let Ok() over single-armed match { .. } | Thomas Hurst | |
clippy:single_match | |||
2018-09-05 | Use while let Some(..) over loop { match { .. }} | Thomas Hurst | |
This looks like it should be a map().collect(), but do the smaller change first. clippy:while_let_on_iterator | |||
2018-09-05 | map(|x| Some(x)) -> map(Some) | Thomas Hurst | |
clippy:redundant_closure | |||
2018-09-05 | Use foo[] instead of .get().unwrap() | Thomas Hurst | |
clippy:get_unwrap | |||
2018-09-05 | Use unwrap_or_else() and unwrap_or_default() | Thomas Hurst | |
This is particularly good for fallbacks which allocate, like String::new() and "bla".to_string(). len() is mostly to shut up clippy. clippy:or_fun_call | |||
2018-09-05 | Use Struct { foo } over Struct { foo: foo } | Thomas Hurst | |
clippy:redundant_field_names | |||
2018-09-05 | Use a char rather than a &str for single-char find() | Thomas Hurst | |
clippy:single_char_pattern | |||
2018-09-05 | Use foo += bar over foo = foo + bar | Thomas Hurst | |
clippy:assign_op_pattern | |||
2018-09-04 | Fix #26: Incorrect unwrap() guard in is_boundary() | Thomas Hurst | |
Guarding line.chars().nth(n) by enforcing n <= line.len() is incorrect, because len() operates in bytes, not Unicode characters. Drop the guard and make use of nth()'s Option to conditionally check the character if it's within bounds. Add a test to prevent regressions. | |||
2018-05-23 | Regenerate documentation | Kartikaya Gupta | |
2018-05-23 | Bump to version 0.6.2 | Kartikaya Gupta | |
2018-05-23 | Fix indentation | Kartikaya Gupta | |
2018-05-23 | parse_mail: Handle missing terminating boundaries in multipart emails. | Darius Jahandarie | |
Instead of erroring when there is no terminating boundary, assume the end of the part is the end of the email. | |||
2018-04-18 | MailHeader::get_value: do not add space if special char parsed | Romain Porte | |