Code Monkey home page Code Monkey logo

xmp-toolkit-rs's Introduction

XMP Toolkit bindings for Rust

CI Latest Version codecov

This crate provides a binding of the Adobe XMP Toolkit SDK to Rust.

The portions of the binding that are present are believed to be well-tested and correct, but it is not (as of yet) a complete binding.

Contributions that ...

  • extend the supported platforms (currently Windows, Mac, and Linux only)
  • extend the supported API surface

... are especially welcomed. Please read the Contributing Guide for more information.

Rust language support

As of this writing, this crate requires Rust version 1.54 or newer. (The CI builds use this version of Rust.) This may be increased to a newer version at any time, but will be noted in the changelog.

This crate follows all of the typical Rust conventions (cargo build, cargo test, etc.). There is a build.rs script which will ensure that the C++ portions of the library are built as needed. It may need to be updated for platforms that haven't already been tested.

Usage

Add this to your Cargo.toml:

[dependencies]
xmp_toolkit = "0.3.8"

Breaking changes in 0.x series

Upgrading to 0.4 from earlier releases

The xmp_const module has been removed and a new xmp_ns module has been added, containing constants for many common XMP namespaces. Replace xmp_const::XMP_NS_XMP with xmp_ns::XMP.

The OpenFileOptions mod has been reworked as an opaque type, removing the need for the bitflags crate dependency. Create by using OpenFileOptions::default() and then calling methods on the struct to add options as needed.

License

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.

xmp-toolkit-rs's People

Contributors

egfx-notifications avatar gpeacock avatar scouten avatar scouten-adobe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.