2 unstable releases

0.2.0 Jun 23, 2024
0.1.0 Mar 16, 2024

#2982 in Parser implementations

Download history 13/week @ 2024-06-25 3/week @ 2024-07-02 8/week @ 2024-07-23 9/week @ 2024-09-10 6/week @ 2024-09-17 24/week @ 2024-09-24 24/week @ 2024-10-01 3/week @ 2024-10-08

66 downloads per month
Used in sitemaps-cli

MIT license

30KB
628 lines

sitemaps

Read and write files in the Sitemaps XML format

use std::fs::File;
use std::io::BufReader;
use sitemaps::SitemapsFile;

let file = File::open("tests/data/example_1_url.xml").unwrap();
let reader = BufReader::new(file);
let sitemap = SitemapsFile::read(reader).unwrap();

lib.rs:

Read and write files in the Sitemaps XML format

use std::fs::File;
use std::io::BufReader;
use sitemaps::SitemapsFile;

let file = File::open("tests/data/example_1_url.xml").unwrap();
let reader = BufReader::new(file);
let sitemap = SitemapsFile::read(reader).unwrap();

Dependencies

~3.5–5MB
~97K SLoC