Crates.io | xmp_toolkit |
lib.rs | xmp_toolkit |
version | 1.9.1 |
source | src |
created_at | 2020-09-02 03:15:38.125991 |
updated_at | 2024-08-30 19:29:27.432789 |
description | Rust-language bindings for Adobe's XMP Toolkit |
homepage | |
repository | https://github.com/adobe/xmp-toolkit-rs |
max_upload_size | |
id | 283726 |
size | 12,313,953 |
Adobe's Extensible Metadata Platform (XMP) is a labeling technology that allows you to embed data about a file, known as metadata, into the file itself. More information on how partners and standards are using XMP is available at the XMP website.
This XMP Toolkit crate implements a subset of the XMP metadata standard. This toolkit allows a desktop or mobile application to:
The XmpMeta
struct contains most of the API functions for these features and is the best place to get started in understanding this crate.
We welcome contributions to this project. For information on contributing, providing feedback, and about ongoing work, see Contributing.
The toolkit requires Rust version 1.70.0 or newer. When a newer version of Rust becomes required, a new minor (1.x.0) version of this crate will be released.
This crate comes with the following features, which you can enable via your Cargo.toml
file:
chrono
- When enabled, adds conversions between XmpDateTime
and chrono::DateTime<FixedOffset>
.crt_static
- When enabled on Windows, uses the MSVC /MT
build flag to request the static version of the C runtime instead of the dynamic version. This may help with avoiding conflicts with other libraries in the overall application. (This feature has no effect on any platform other than Windows.)None of these features are enabled by default.
The toolkit has been tested on the following operating systems:
Windows
MacOS (Intel and Apple silicon)
Ubuntu Linux on x86 and ARM v8 (aarch64)
This crate incorporates the December 2023 version of the C++ Adobe XMP Toolkit SDK.
When a newer version of the C++ XMP Toolkit is incorporated, a new minor (1.x.0) version of this crate will be released.
This API is considered to to be stable; in other words, no further breaking changes are anticipated. For instructions on how to upgrade from various 0.x versions to 1.x, see the Upgrading guide.
Minor, non-breaking additions to the API surface may be added as the few remaining APIs in the C++ XMP_Meta
, XMP_Files
, and TXMPUtils
interfaces are exposed. Such changes will trigger minor (1.x.0) version increments when they happen.
The xmp_toolkit
crate is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT.
Note that some components and dependent crates are licensed under different terms; please check the license terms for each crate and component for details.