Commit Graph

16 Commits

Author SHA1 Message Date
Bauke 0a03826fd2
Fix Clippy issues. 2024-01-21 13:44:26 +01:00
Bauke 8b450cc724
Clean up documentation. 2022-10-02 21:30:15 +02:00
Bauke 2ebc218149
Forbid unsafe code and add documentation warnings. 2022-10-02 16:12:12 +02:00
Bauke fc2503e752
Add Eq derives. 2022-10-01 01:00:34 +02:00
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 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 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 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 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