OPML library for Rust & standalone CLI.
https://crates.io/crates/opml
Bauke 18c8284ba9 | ||
---|---|---|
examples | ||
source | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
LICENSE-Apache | ||
LICENSE-MIT | ||
README.md | ||
rustfmt.toml |
README.md
OPML
An OPML parser for Rust.
Getting Started
use opml::OPML;
let xml = r#"<opml version="2.0"><body><outline text="Outline"/></body></opml>"#;
let parsed = OPML::new(xml).unwrap();
println!("{:#?}", parsed);
Check out the documentation for further details.
CLI
Looking for a command-line utility to parse OPML documents? Check out the opml-cli
, a small wrapper around this crate that will let you do just that.
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.