libultrahdr-sys 0.1.2

A Rust interface to libultrahdr
docs.rs failed to build libultrahdr-sys-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

libultrahdr-sys

A rust bindgen crate for Google's libultrahdr.

Building with installed libraries

Since libultrahdr depends on libjpeg,

  • On *nix systems, pkg-config will be used to find libjpeg-turbo.
  • On windows systems, vcpkg will be used to find libjpeg-turbo.

You need to manually compile and install libultrahdr per its instruction. After that, either use pkg-config use automatically find libultrahdr, or

set environment variables to skip pkg-config search.

UHDR_LIB_PATH=/path/to/lib
UHDR_HEADER=/path/to/uhdr_api.h
UHDR_STATIC=1

Building from source

Not implemented yet. PRs welcome!