[package]
edition = "2024"
rust-version = "1.85"
name = "openh264-sys2"
version = "0.9.8"
authors = ["Ralf Biedert <rb@xr.io>"]
build = "build.rs"
exclude = ["**/*.dll"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level bindings for OpenH264."
documentation = "https://docs.rs/openh264-sys2/"
readme = "README.md"
keywords = [
"multimedia",
"encoding",
"video",
]
categories = [
"api-bindings",
"multimedia::video",
]
license = "BSD-2-Clause"
repository = "https://github.com/ralfbiedert/openh264-rs"
resolver = "2"
[features]
default = ["source"]
libloading = [
"dep:libloading",
"dep:sha2",
]
source = [
"dep:cc",
"dep:walkdir",
"dep:nasm-rs",
]
[lib]
name = "openh264_sys2"
path = "src/lib.rs"
[[test]]
name = "api_libloading"
path = "tests/api_libloading.rs"
[[test]]
name = "api_source"
path = "tests/api_source.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[dependencies.libloading]
version = "0.8.1"
optional = true
[dependencies.sha2]
version = "0.10.8"
optional = true
[build-dependencies.cc]
version = "1.0"
features = ["parallel"]
optional = true
[build-dependencies.nasm-rs]
version = "0.3.0"
optional = true
[build-dependencies.walkdir]
version = "2.3"
optional = true