libva 0.1.4

Safe bindings over libva
[package]
name = "libva"
version = "0.1.4"
license = "BSD-3-Clause"
description = "Safe bindings over libva"
repository = "https://github.com/mlm-games/cros-libva"
authors =  ["mlm-games"]  # for publish, ["The Chromium OS Authors"]
edition = "2024"
rust-version = "1.88"
keywords = ["vaapi", "libva", "video", "hardware", "drm"]
categories = ["api-bindings", "multimedia"]
homepage = "https://github.com/mlm-games/cros-libva"

readme.workspace = true

[features]
default = ["dlopen"]
dlopen = ["dep:libloading"]
# static linking via pkg-config (would anyway require default=false so is kinda redundant/informational).
linked = []
vendored = []
intel-protected-content-headers = []

[dependencies]
thiserror = "2"
bitflags = "2.13"
log = "0.4"
libloading = { version = "0.9", optional = true }

[build-dependencies]
bindgen = "0.72"
pkg-config = "0.3"
regex = "1.13"

[dev-dependencies]
crc32fast = "1.5"