Commit Graph

6 Commits

Author SHA1 Message Date
SirWindfield 88d96dea73 feat: add convenience methods for (de)serialization
The commit adds a from_reader and to_writer method implementation to
make it easier to work with IO streams.

Additionally, I have deprecated the `new` and `to_xml` functions in
favor of functions that match the naming scheme of serde crates more
closely: `from_str` and `to_string`.
2021-03-22 22:31:59 +01:00
Bauke d50c5ca4b6
Version 1.0.1
Publishing failed for strong-xml 0.6.1, this just bumps it to 0.6.2 to fix that.
2021-03-22 14:04:25 +01:00
Bauke a93cf7abd6
Version 1.0.0 2021-03-22 12:50:59 +01:00
SirWindfield 312627e298
feat(api)!: add distinct error type (#1)
* feat(api)!: add distinct error type

The commit adds an `Error` enum to the public API of the opml crate to
make it easier to reason about what went wrong during OPML
parsing/writing.
2021-03-22 12:41:11 +01:00
Bauke f1a4f57ec2
Restore rustfmt.toml and apply changes. 2020-08-29 16:46:54 +02:00
Bauke 8279e43330
Consolidate the API and CLI into one repository with Cargo workspaces. 2020-08-28 13:37:29 +02:00