Skip to content

Releases: Shemnei/tdtxt

v0.3.0

07 Sep 14:54
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Added

  • Fuzzing case for parsing of a Task
  • Generic From<S: Into<String>> implemented for Description
  • Added functions State::is_done and State::is_open
  • Added function Priority::as_char
  • Added struct Component and Components as iterator return value for the new function Description::components
  • Added parse errors to the public API

Changed

  • Description::new now accepts Into<String> instead of ToString

0.2.0

01 Sep 15:53
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

Added

  • Created prelude module for quick importing of all important features
  • The crate now exports all useful definitions in the root
  • Added enum variant State::Open
  • Implemented std::std::FromStr for all task components
  • Added rustdoc documentation to the public api
  • Added feature chrono for optional support for chrono::NaiveDate dates
  • Added feature serde for optional support for de(serializing) todo.txt components
  • Added example examples/filter_open.rs
  • Added PartialOrd and Ord for SimpleDate, Date, DateCompound and State

Changed

  • Functions Description::projects(), Description::contexts() and Description::custom() now return an Iterator instead of a Vec
  • Replaced Range<usize> with the struct ByteSpan
  • Renamed Todo to Task
  • Field Task::state is now State instead of Option<State>
  • Renamed XXXParseError to ParseXXXError to follow the convention of the std lib

0.1.0

26 Aug 18:29
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

First release of tdtxt.

DISCLAIMER

While the basic functions are implemented, the whole crate and specifically the API are still in early development and will change in the future.