OPML library for Rust & standalone CLI. https://crates.io/crates/opml
Go to file
Bauke fa480a82a7
Add more documentation and an example in the code.
2020-05-25 02:12:43 +02:00
examples Initial commit! 🎉 2020-05-23 14:32:40 +02:00
source Add more documentation and an example in the code. 2020-05-25 02:12:43 +02:00
tests Separate the testing OPML samples out into files. 2020-05-24 15:31:17 +02:00
.gitignore Initial commit! 🎉 2020-05-23 14:32:40 +02:00
.gitlab-ci.yml Add GitLab CI builds. 2020-05-24 15:33:18 +02:00
Cargo.toml Fix doc comments. 2020-05-23 18:21:21 +02:00
License-Apache Initial commit! 🎉 2020-05-23 14:32:40 +02:00
License-MIT Initial commit! 🎉 2020-05-23 14:32:40 +02:00
ReadMe.md Add more documentation and an example in the code. 2020-05-25 02:12:43 +02:00
rustfmt.toml Initial commit! 🎉 2020-05-23 14:32:40 +02:00

ReadMe.md

OPML

An OPML 2.0 parser for Rust.

Contents

Expertise Wanted

This is the first crate I'm publishing to crates.io and the first proper library I've made for Rust. Any help or tips with how to improve the API, documentation, usability, testing or anything else is very welcome. Feel free to create an issue or contact me via email at helllo@holllo.cc.

Getting Started

use opml::OPML;

let xml = r#"<opml version="2.0"><head/><body><outline text="Outline"/></body></opml>"#;
let parsed = OPML::new(xml).unwrap();

println!("{:#?}", parsed);

License

Open-sourced with either the

at your option.

The samples located in tests/spec_samples were taken from the OPML 2.0 spec and are subject to their own license.