[[bench]]
name = "decode"
path = "benches/decode.rs"
[[bench]]
name = "encode"
path = "benches/encode.rs"
[[bench]]
name = "rgb2yuv"
path = "benches/rgb2yuv.rs"
[[bench]]
name = "yuv2rgb"
path = "benches/yuv2rgb.rs"
[dependencies.openh264-sys2]
default-features = false
version = "0.7.1"
[dependencies.wide]
version = "0.7.30"
[dev-dependencies.anyhow]
version = "1.0.71"
[dev-dependencies.image]
version = "0.25.5"
[dev-dependencies.image-compare]
version = "0.4.1"
[dev-dependencies.mp4]
version = "0.14.0"
[dev-dependencies.rand]
version = "0.8.5"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "mp4"
path = "examples/mp4/main.rs"
[features]
default = ["source"]
libloading = ["openh264-sys2/libloading"]
source = ["openh264-sys2/source"]
[lib]
name = "openh264"
path = "src/lib.rs"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
module_name_repetitions = "allow"
unreadable_literal = "allow"
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[package]
authors = ["Ralf Biedert <rb@xr.io>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "multimedia::video"]
description = "Idiomatic bindings for OpenH264."
documentation = "https://docs.rs/openh264/"
edition = "2021"
exclude = ["**/*.h264", "**/*.rgb", "**/*.mp4", "**/*.bmp"]
keywords = ["multimedia", "encoding", "video"]
license = "BSD-2-Clause"
name = "openh264"
readme = "README.md"
repository = "https://github.com/ralfbiedert/openh264-rust"
rust-version = "1.83"
version = "0.7.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "decode"
path = "tests/decode.rs"
[[test]]
name = "encode"
path = "tests/encode.rs"
[[test]]
name = "traits"
path = "tests/traits.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"