# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93.0"
name = "ff-sys"
version = "0.14.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFmpeg FFI bindings for Rust"
readme = "README.md"
keywords = [
    "ffmpeg",
    "ffi",
    "video",
    "audio",
    "multimedia",
]
categories = [
    "external-ffi-bindings",
    "multimedia::video",
    "multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/itsakeyfut/avio"
resolver = "2"

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

[lib]
name = "ff_sys"
path = "src/lib.rs"
doctest = false

[[bench]]
name = "swresample_bench"
path = "benches/swresample_bench.rs"
harness = false

[[bench]]
name = "swscale_bench"
path = "benches/swscale_bench.rs"
harness = false

[dependencies.log]
version = "0.4.29"

[dev-dependencies.criterion]
version = "0.8.1"

[dev-dependencies.image]
version = "0.25.9"
features = ["png"]
default-features = false

[build-dependencies.bindgen]
version = "0.72.1"

[build-dependencies.pkg-config]
version = "0.3.32"

[target."cfg(windows)".build-dependencies.vcpkg]
version = "0.2.15"

[lints.clippy]
all = "allow"
pedantic = "allow"

[lints.rust]
unsafe_code = "allow"
