[package]
edition = "2024"
rust-version = "1.88"
name = "alpha2-ffmpeg-bridge"
version = "0.4.5"
build = "build.rs"
include = [
"/build.rs",
"/src/**",
"/include/**",
"/README.md",
"/LICENSE.md",
"!/src/**/tests.rs",
"!/src/**/*_tests.rs",
"!/src/**/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small audited unsafe boundary for FFmpeg buffers used by alpha2-native."
readme = "README.md"
keywords = [
"ffmpeg",
"video",
"ffi",
"vulkan",
]
categories = [
"multimedia::video",
"external-ffi-bindings",
]
license = "MIT"
repository = "https://github.com/alpha2-sh/alpha2"
[package.metadata.docs.rs]
features = ["hwdevice"]
[features]
default = []
hwdevice = []
[lib]
name = "alpha2_ffmpeg_bridge"
path = "src/lib.rs"
[dependencies.alpha2-media]
version = "0.4.5"
[dependencies.bytes]
version = "1.12.1"
[dependencies.rsmpeg]
version = "0.18.0"
features = ["link_system_ffmpeg"]
[build-dependencies.alpha2-build-support]
version = "0.4.5"
[lints.clippy]
undocumented_unsafe_blocks = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"