summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-12-26WIPparser/port-content-dispositionMatthias Beyer
2019-12-26Rewrite functions to return Result<_>Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-26fixup! Add Disposition::{FormData, Extension} supportMatthias Beyer
2019-12-26fixup! Let all Cargo.tomls in the workspace use the workspace in development ↵Matthias Beyer
mode
2019-12-26Let all Cargo.tomls in the workspace use the workspace in development modeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-26Add Disposition::{FormData, Extension} supportMatthias Beyer
Therefore, let Disposition::kind() return a reference to the kind and remove the Copy derive for DispositionKind. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-26Impl Default for DispositionKindMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Replace own error type with failureparsingMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Remove test that depends on test data that we have not imported from mailparseMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Make public for crate, so we can access fields in testsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Fix imports in doctests and testsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Move header stuff to own moduleMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Import mailparse codeMatthias Beyer
As the "mailparse" code is licensed as 0BSD, I think I can import this code here without any further arrangements. (IANAL) All credit up to here goes to the author of the "mailparse" crate, of course. The code was a bit restructured into more modules. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-12-23Add crate: mail-parserMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-11cargo: Update author and maintenance badge.HEADmasterPhilipp Korber
2019-10-11cargo(version): bumped minor version numberPhilipp Korber
2019-10-11chore(deps): updated depsPhilipp Korber
- make all parts which use vec1 depend on v1.3.0 (and use `try_from_vec`) - make all parts which use mail-internals depend on v0.2.3 (which has an important bug fix)
2019-10-11cargo(version): bumped patch versionPhilipp Korber
2019-10-11fix(internals): max line length error breached triggered wronglyPhilipp Korber
- if the soft line length limit was breached and braking the line failed and the buffer had already reached a certain size a hard line length limit breached error was triggered (but should not have)
2019-10-11doc(headers): added warnings about using some parts likely to change in the ↵Philipp Korber
future.
2019-10-05Update README.mdPhilipp Korber
Indicate that development has been suspended.
2019-03-14fix(headers): Make it impossible to have "fake" encoded words.Philipp Korber
With certain Words/Phrases it was possible to have encoded words like text as input without the library encoding them.
2019-03-14doc(header): a bit more documentation for the `Phrase` type.Philipp Korber
2019-03-04cargo(version): bumped patch version numberPhilipp Korber
2019-03-04chore(smtp): reexport new-tokio-smp::Cmd in smtp::miscPhilipp Korber
2019-03-04cargo(docs.rs): add flaggs so that it's build with handlebars featurePhilipp Korber
2019-02-18Merge pull request #4 from matthiasbeyer/patch-1Philipp Korber
Fix typo in documentation.
2019-02-17TypoMatthias Beyer
2019-02-14cargo(version): bumped patch version of mailPhilipp Korber
2019-02-14cargo(version): bumped patch version of mail-headersPhilipp Korber
2019-02-14cargo(version): bumped patch version of mail-internalsPhilipp Korber
2019-02-14doc(mail): use absolute github links for examplePhilipp Korber
- Else example links won't work on some of the places the readme is displayed at. - But this means the link will always go to the current master branch not the uploaded code. - We could point it to a tag/branch but then changing it manually with every release is bothersome and error prone.
2019-02-14chore(internals): no longer eat semantic ws when line breakingPhilipp Korber
- We want to eat ws if we do a linebreake at a place where we did a write_fws(). - But we don't want to do so if we just did a `mark_fws_pos()`
2019-02-14fix(internals): Fixed bug where linebrakig could panic.Philipp Korber
2019-02-14fix(internals): fixed latend safety bugPhilipp Korber
The function for efficiently inserting a slice of bytes into a `Vec<u8>` did miss a bounds check and was, to make thinks worse optimized using unsafe code. Still the bug was only latent as all parts using the function allways had in bounds indexes. (There was only one, which was in a grow only buffer and used a index which is always set from the current buffer len, which as noted can only grow).
2019-02-04chore(deps): Bumped patch version number as dependencies where bumped.Philipp Korber
2019-02-04chore(rust): Use UFC Syntax for any custom `type_id` methods.Philipp Korber
This is neccessary as `Any::get_type_id` is getting stabilized as `Any::type_id` leading to potential brakage wrt. the compiler failing due to syntax ambiguity.
2019-01-07chore(cargo/core) bumped patch version numberPhilipp Korber
2019-01-07fix(core) auto add `Content-Id` headersPhilipp Korber
2018-12-04cargo(version) bumped mail version to v0.6.4Philipp Korber
- uses newer min version of `mail-templates` (fixes a macro hygien related bug)
2018-12-04cargo(version) bumped mail-headers to v0.6.2Philipp Korber
2018-12-04fix(headers) make enum explicitly use std::result::ResultPhilipp Korber
Before it just used `Result` which can collide with custom result types.
2018-12-03doc(README) added minimal readme to repositoryPhilipp Korber
- each crate had a readme but the repo on itself does not
2018-12-03cargo(version) bumped to 0.6.3Philipp Korber
2018-12-03cargo(version) bumped version to 0.6.1Philipp Korber
2018-12-03feat(Domain) impl `FromStr` for domainPhilipp Korber
2018-11-23doc(README) updated readme to be same as lib top level docPhilipp Korber
2018-11-23fix(mail) reduced amount of keywords to 5Philipp Korber
2018-11-23feat(mail/serde) re-export serde-impl featurePhilipp Korber
2018-11-23chore(mail/deps) use creates deps instead of path/github depsPhilipp Korber