Commit Graph

20 Commits

Author SHA1 Message Date
Bauke b4fadea55d
Run cargo fmt. 2022-07-20 14:14:44 +02:00
Kevin Cox 34677a5fa1
Switch to hard-xml. (#4)
strong-xml is unmaintained and this fork includes a fix to a self-closing element causing a parse error.

This also fixes a build-time warning with the strong-xml derive macro.
2022-07-19 13:47:46 +02:00
Bauke 75eb03b23f
Version 1.1.3 2021-09-27 19:28:36 +02:00
Bauke a39b0b8db8
Version 1.1.2 2021-09-27 19:24:12 +02:00
Bauke 1ae347f2ef
Remove unused imports from doc examples. 2021-09-27 13:49:08 +02:00
Bauke 4f285142d8
Remove the Regex dependency.
This isn't really necessary if we're checking against
a list of valid versions.
2021-09-27 13:37:43 +02:00
Bauke c146776e8b
Add more tests. 2021-09-27 12:23:50 +02:00
Bauke 40e9e785b9
Fix a Clippy warning. 2021-09-27 12:07:31 +02:00
Bauke fab193f2dd
Clean up and update the documentation. 2021-09-27 12:06:22 +02:00
Bauke 00fc02f7a0
Update all dependencies. 2021-09-26 22:21:24 +02:00
Bauke f7d820e217
Version 1.1.1 2021-07-05 23:05:05 +02:00
Bauke 53618bfd5f
Update license year and include files in publishes crates. 2021-07-05 23:01:32 +02:00
Bauke 8f3109d719
Version 1.1.0 2021-03-23 13:05:30 +01:00
Bauke e8006bff09
Fix some things and do some cleanup. 2021-03-23 13:02:16 +01:00
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