Releases: Shemnei/tdtxt
Releases · Shemnei/tdtxt
v0.3.0
Added
- Fuzzing case for parsing of a
Task
- Generic
From<S: Into<String>>
implemented forDescription
- Added functions
State::is_done
andState::is_open
- Added function
Priority::as_char
- Added struct
Component
andComponents
as iterator return value for the new functionDescription::components
- Added parse errors to the public API
Changed
Description::new
now acceptsInto<String>
instead ofToString
0.2.0
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 forchrono::NaiveDate
dates - Added feature
serde
for optional support for de(serializing) todo.txt components - Added example
examples/filter_open.rs
- Added
PartialOrd
andOrd
forSimpleDate
,Date
,DateCompound
andState
Changed
- Functions
Description::projects()
,Description::contexts()
andDescription::custom()
now return anIterator
instead of aVec
- Replaced
Range<usize>
with the structByteSpan
- Renamed
Todo
toTask
- Field
Task::state
is nowState
instead ofOption<State>
- Renamed
XXXParseError
toParseXXXError
to follow the convention of the std lib