OPML library for Rust & standalone CLI.
https://crates.io/crates/opml
Bauke b429da1362 | ||
---|---|---|
examples | ||
source | ||
tests | ||
.gitignore | ||
.gitlab-ci.yml | ||
Cargo.toml | ||
License-Apache | ||
License-MIT | ||
ReadMe.md | ||
rustfmt.toml |
ReadMe.md
OPML
An OPML parser for Rust.
Contents
Expertise Welcome
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);
Check out the documentation for further details.
License
Open-sourced with either the
- Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
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.