Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-09 | Bump edition to 2021 and introduce rustfmt | Pro | |
2024-02-09 | Update nom and iso8601 dependencies | Pro | |
2024-02-09 | Cleanup | Pro | |
2024-02-09 | Bump env_logger | Pro | |
Some tests were failing with: env_logger::init should not be called after logger initialized: SetLoggerError(()) | |||
2020-03-05 | Merge branch 'thiserror' | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-03-05 | Remove unused import | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-03-05 | Downgrade comment to normal comment | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-03-05 | Replace try!() with ? operator | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-03-05 | Replace failure with thiserror | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-07 | Move code to failure as error handling library | Matthias Beyer | |
2018-05-28 | Replace wrong variable in error output of sub_from_moment | Malte Brandy | |
2018-03-21 | Add aliases for 1second -> secondly | Matthias Beyer | |
2017-11-24 | Use NaiveDate::from_ymd_opt() / ::and_hms_opt() functions for error safety | Matthias Beyer | |
2017-11-24 | Optimize implementation | Matthias Beyer | |
Change the implementation from O(n) to O(1). | |||
2017-11-24 | Add out of bounds check and error propagation for NaiveDate::from_ymd() calls | Matthias Beyer | |
* Added recursion limit for error_chain * Added new error for out-of-bounds error * Added IntoTimeType helper trait | |||
2017-11-19 | Implement not-yet implemented match arms | Matthias Beyer | |
We can simply use our own infrastructure here to calculate the actual value of these patterns. Now things like "2015-306" (as supported by the iso8601 crate) work. | |||
2017-11-19 | Remove warnings | Matthias Beyer | |
* Remove unused imports * Remove unused variables * Remove unused functions | |||
2017-11-19 | Split parser into modules | Matthias Beyer | |
The TimeType::parse() function was removed because we don't want that there. It is not that nice, because the interface would return either a TimeType or an Iterator. | |||
2017-11-19 | Fix: Offset problem | Matthias Beyer | |
The core iterator did not yield the base on the first iteration. This is fixed with this commit, using a flag to check whether it already yielded the base and if, start incrementing. Not a clean solution, but a working one. | |||
2017-11-19 | Add tests for iterators | Matthias Beyer | |
2017-11-19 | Add more tests for UntilIter | Matthias Beyer | |
2017-11-19 | Add parser iterator type -> API iterator type mapping | Matthias Beyer | |
2017-11-19 | Add "Times" iterator helper type | Matthias Beyer | |
2017-11-19 | Add error for calculating non-date inside iterator parsing | Matthias Beyer | |
2017-11-19 | Fix until_spec parser | Matthias Beyer | |
2017-11-19 | Fix date() parser fn | Matthias Beyer | |
2017-11-11 | Replace unimplemented!() matcher with actual pattern | Matthias Beyer | |
2017-11-11 | Merge pull request #3 from matthiasbeyer/parser | Matthias Beyer | |
Parser | |||
2017-11-11 | Merge branch 'minor' | Matthias Beyer | |
2017-11-11 | Fix Bug: Called subtraction fn instead of addition fn | Matthias Beyer | |
2017-11-11 | Add test for parser which contains subtraction | Matthias Beyer | |
2017-11-11 | Fix Bug: Called subtraction fn instead of addition fn | Matthias Beyer | |
2017-11-11 | Add TimeType::parse() | Matthias Beyer | |
2017-11-11 | Error-chain setup for nom errors | Matthias Beyer | |
2017-11-11 | Make parser::timetype() pub, add documentation about interface | Matthias Beyer | |
2017-11-11 | Add internal timetype which resolves to either AmountExpr or Date | Matthias Beyer | |
2017-11-11 | Fix: There must we whitespace! | Matthias Beyer | |
2017-11-11 | Add tests for iso8601 parsing | Matthias Beyer | |
2017-11-11 | Add into-conversions and simple test for it | Matthias Beyer | |
2017-10-30 | Fix: Parse complete next expression | Matthias Beyer | |
2017-10-29 | Break amount expression parsing into multiple parts | Matthias Beyer | |
2017-10-28 | Add tests | Matthias Beyer | |
2017-10-28 | Add optional whitespace | Matthias Beyer | |
2017-10-28 | Use alt_complete!() here | Matthias Beyer | |
2017-10-28 | Add debug, partialeq, eq derive | Matthias Beyer | |
2017-10-28 | Sort tags | Matthias Beyer | |
2017-10-28 | Initial bootstrapping of nom-based parser | Matthias Beyer | |
2017-10-22 | Design syntax | Matthias Beyer | |
2017-10-22 | Initial import for parser | Matthias Beyer | |
2017-10-09 | Add another testcase for adding months over year-borders | Matthias Beyer | |