Commit Graph

54 Commits

Author SHA1 Message Date
Bauke f9bfe86ad6
Redo the cargo-make configuration to make use of default tasks. 2024-01-21 13:50:11 +01:00
Bauke 3bf315829a
Update all dependencies. 2024-01-21 13:48:27 +01:00
Bauke 0a03826fd2
Fix Clippy issues. 2024-01-21 13:44:26 +01:00
Bauke b0893af002
Switch the resolver. 2024-01-21 13:42:23 +01:00
Bauke d7278ba3a2
Add Nix flake and direnv files. 2024-01-21 13:41:41 +01:00
Bauke 7545039bec
Version 1.1.5! 2022-10-02 22:10:29 +02:00
Bauke 49969b307a
Update RSS example. 2022-10-02 21:54:15 +02: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 521a9bbd1a
Update Cargo.toml metadata info. 2022-10-01 01:06:29 +02:00
Bauke 3a001d1326
Update edition and dependencies. 2022-10-01 01:03:47 +02:00
Bauke fc2503e752
Add Eq derives. 2022-10-01 01:00:34 +02:00
Bauke 243750ff5f
Rewrite CLI tests using insta and test_case. 2022-10-01 00:55:12 +02:00
Bauke 9db7f4f1b2
Update CLI dependencies, rewrite with Clap's Derive API. 2022-10-01 00:09:13 +02:00
Bauke 3a466adedc
Update license year and email. 2022-09-30 23:46:53 +02:00
Bauke b32e45d058
Update gitignore and move coverage directory. 2022-09-30 23:36:21 +02:00
Bauke dda3e2debc
Rewrite readme. 2022-09-30 23:34:20 +02:00
Bauke 3442351223
Version 1.1.4. 2022-07-20 14:25:56 +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 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 9ef1bf37ef
Add cargo-make tasks. 2021-09-27 12:36:57 +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 d0b85869e3
Remove GitHub CI stuff. 2021-09-26 22:14:50 +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 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