Age | Commit message (Collapse) | Author |
|
Error cleanup
|
|
The type is a fully-fledged `impl Error` all on its own now.
|
|
|
|
|
|
`thiserror` is much lighter and doesn't export a dependency on `failure`
to consumers of the crate.
|
|
Instead, make a local type alias that can be used within the crate, but
avoid the need to export yet another symbol.
|
|
|
|
travis: remove old toolchain tests
|
|
Dependencies use the 2018 edition which requires 1.31, but 1.32 is
needed to resolve a `use module` ambiguity in `backtrace`.
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Fix: Add feature flag for error type
|
|
|
|
* Update dependency: error-chain
* Replace dependency: error_chain -> failure
* fixup! Replace dependency: error_chain -> failure
* Use enum for errors (in return types)
* fixup! Use enum for errors (in return types)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
With this helper function, one can get the parameters from a helper data
type. For example the email data parameters "HOME", "WORK".
|
|
* Add EventBuilder
* Add simple test for building an event
* Remove unused import
* fixup! Add simple test for building an event
* fixup! Remove unused import
* Fix: build and test with all features enabled
* Make builder API typed
* Add helper to build new empty ICalendar object
* Add ::from_raw() for helper types, make ::new() pub
* Redesign builder to have chainable with_foo() functions and in-place mutating setters
* Dont prefix getters with get_ to be more consistent with the vcard API
* fixup! Redesign builder to have chainable with_foo() functions and in-place mutating setters
* fixup! Dont prefix getters with get_ to be more consistent with the vcard API
* fixup! Dont prefix getters with get_ to be more consistent with the vcard API
* fixup! Dont prefix getters with get_ to be more consistent with the vcard API
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Add error kind for "not an icalendar"
* Move helper macros to utils
* Add optional date/datetime conversions
* Add optional dependency: chrono
* Add error types for converting from parser error from chrono
* Add AsDateTime for icalendar times
* Add travis build script with all features tested
* Add tests
* Add tests with simple test entry
* Add test for owncloud-generated cal entry
* Add conversions-testing for entries
* Use container type for returning either Date or DateTime
* fixup! Move helper macros to utils
* Fix to use list syntax
* Capitalize consistently
* Use ? instead of callback chaining
* Remove all unneeded imports
|
|
|
|
|
|
|
|
* Start implementing high-level interface for vcard objects
* Add derive for Eq and PartialEq for generated types
* Add raw() getter for generated types
* Add basic vcard test
* Add function to create a Vcard object from a Component
* error-chain: 0.10 -> 0.11
* Add helper to generate parameter list
* Add VcardBuilder
* Add test for VcardBuilder
* Rename util.rs -> param.rs
* Do not pass complete input string to error
|
|
|
|
* Update travis settings
* fixup! Update travis settings
|
|
* Add dependency: error-chain, refactor to use error chain infrastructure
* Split code into modules
* Move tests to appropriate modules
|
|
|
|
|
|
|
|
https://github.com/untitaker/rust-vobject/commit/2e80215c92397e6116ae12364a9bfeff49b504aa#commitcomment-22043284
|
|
|
|
Refactor a bit
|
|
Derives for Component and Property
Property::new() takes Into as Asref instead of &str
Formatting and misc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|