Commit Graph

18 Commits

Author SHA1 Message Date
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 a402a632f4
Add a basic Rust CI GitHub workflow. 2020-08-29 16:43:15 +02:00
Bauke 737fdb70d8
Actually point to the license. 2020-08-28 13:42:28 +02:00
Bauke 8279e43330
Consolidate the API and CLI into one repository with Cargo workspaces. 2020-08-28 13:37:29 +02:00
Bauke a9c0deac33
Make the text attribute "technically optional" by giving it a default.
Apparently in OPML 1.0 text attributes are not required, so this should
make it work for all versions.
2020-08-15 12:33:54 +02:00
Bauke 18c8284ba9
Move to self-hosted Gitea, clean up stuff. 2020-08-06 17:45:18 +02:00
Bauke af3cdaab6c
Make OPMLs (de)serializable with serde. 2020-08-05 19:14:11 +02:00
Bauke b429da1362
Add more and clean up documentation. 2020-05-28 16:47:03 +02:00
Bauke 3e90b069a5
Add support for OPML 1.0 and 1.1. 2020-05-27 14:11:42 +02:00
Bauke 769e566414
Make the head element optional to accomodate technically invalid OPMLs. 2020-05-26 10:28:19 +02:00
Bauke 53e76e8aa6
Add a bunch of things:
* A way of easily constructing OPMLs
* An example of how to do construct in the getting started documentation
* Make outline booleans optional so there's no unnecessary XML output
* Defaults for all structs
* Various helper methods for adding feeds and getting the XML output
* Tests for construction
2020-05-25 20:35:01 +02:00
Bauke fa480a82a7
Add more documentation and an example in the code. 2020-05-25 02:12:43 +02:00
Bauke b02bb063b9
Add GitLab CI builds. 2020-05-24 15:33:18 +02:00
Bauke ba5d7c3edd
Separate the testing OPML samples out into files. 2020-05-24 15:31:17 +02:00
Bauke 823a137a76
Fix doc comments. 2020-05-23 18:21:21 +02:00
Bauke 9089c117de
Initial commit! 🎉 2020-05-23 14:32:40 +02:00