recently-used-xbel

Crates.iorecently-used-xbel
lib.rsrecently-used-xbel
version1.0.0
sourcesrc
created_at2022-03-27 17:46:59.665559
updated_at2022-03-27 17:46:59.665559
descriptionParse the ~/.local/share/recently-used.xbel file
homepage
repositoryhttps://github.com/pop-os/recently-used-xbel
max_upload_size
id557359
size26,919
Michael Murphy (mmstick)

documentation

README

recently-used-xbel

Rust crate for reading the contents of ${HOME}/.local/share/recently-used.xbel.

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let recently_used = recently_used_xbel::parse_file()?;

    for bookmark in recently_used.bookmarks {
        println!("{:#?}", bookmark);
    }

    Ok(())
}

License

Licensed under the Mozilla Public License 2.0. Permissions of this copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the Mozilla Public License 2.0 (MPL-2.0). It is required to add a boilerplate copyright notice to the top of each file:

// Copyright {year} {person OR org} <{email}>
// SPDX-License-Identifier: MPL-2.0
Commit count: 1

cargo fmt