exiftool-rs 0.6.1

Read, write, and edit metadata in 93 file formats — a pure Rust reimplementation of ExifTool 13.53 with 100% tag-name AND value parity across the test corpus
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! XMP sidecar file reader (.xmp, .xml, .svg, .inx).
//!
//! Reads standalone XMP files as pure XML metadata.

use crate::error::Result;
use crate::metadata::XmpReader;
use crate::tag::Tag;

pub fn read_xmp(data: &[u8]) -> Result<Vec<Tag>> {
    XmpReader::read(data)
}