# 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]
name = "neoffmpeg-rs"
version = "1.0.2"
authors = [
    "meh. <meh@schizofreni.co>",
    "Zhiming Wang <i@zhimingwang.org>",
    "09bravo",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe FFmpeg wrapper (fork of rust-ffmpeg formerly known as ffmpeg-next)"
homepage = "https://github.com/09bravo/neoffmpeg-rs"
documentation = "https://docs.rs/neoffmpeg-rs"
readme = "README.md"
keywords = [
    "ffmpeg",
    "multimedia",
    "video",
    "audio",
]
categories = ["multimedia"]
license = "CC0-1.0"
repository = "https://github.com/09bravo/neoffmpeg-rs"

[features]
build = [
    "static",
    "ffmpeg-sys-next/build",
]
build-lib-aacplus = ["ffmpeg-sys-next/build-lib-aacplus"]
build-lib-ass = ["ffmpeg-sys-next/build-lib-ass"]
build-lib-avs = ["ffmpeg-sys-next/build-lib-avs"]
build-lib-celt = ["ffmpeg-sys-next/build-lib-celt"]
build-lib-dav1d = ["ffmpeg-sys-next/build-lib-dav1d"]
build-lib-dcadec = ["ffmpeg-sys-next/build-lib-dcadec"]
build-lib-faac = ["ffmpeg-sys-next/build-lib-faac"]
build-lib-fdk-aac = ["ffmpeg-sys-next/build-lib-fdk-aac"]
build-lib-fontconfig = ["ffmpeg-sys-next/build-lib-fontconfig"]
build-lib-freebidi = ["ffmpeg-sys-next/build-lib-freebidi"]
build-lib-freetype = ["ffmpeg-sys-next/build-lib-freetype"]
build-lib-frei0r = ["ffmpeg-sys-next/build-lib-frei0r"]
build-lib-gnutls = ["ffmpeg-sys-next/build-lib-gnutls"]
build-lib-gsm = ["ffmpeg-sys-next/build-lib-gsm"]
build-lib-ilbc = ["ffmpeg-sys-next/build-lib-ilbc"]
build-lib-kvazaar = ["ffmpeg-sys-next/build-lib-kvazaar"]
build-lib-ladspa = ["ffmpeg-sys-next/build-lib-ladspa"]
build-lib-mp3lame = ["ffmpeg-sys-next/build-lib-mp3lame"]
build-lib-opencore-amrnb = ["ffmpeg-sys-next/build-lib-opencore-amrnb"]
build-lib-opencore-amrwb = ["ffmpeg-sys-next/build-lib-opencore-amrwb"]
build-lib-opencv = ["ffmpeg-sys-next/build-lib-opencv"]
build-lib-openh264 = ["ffmpeg-sys-next/build-lib-openh264"]
build-lib-openjpeg = ["ffmpeg-sys-next/build-lib-openjpeg"]
build-lib-openssl = ["ffmpeg-sys-next/build-lib-openssl"]
build-lib-opus = ["ffmpeg-sys-next/build-lib-opus"]
build-lib-schroedinger = ["ffmpeg-sys-next/build-lib-schroedinger"]
build-lib-shine = ["ffmpeg-sys-next/build-lib-shine"]
build-lib-smbclient = ["ffmpeg-sys-next/build-lib-smbclient"]
build-lib-snappy = ["ffmpeg-sys-next/build-lib-snappy"]
build-lib-speex = ["ffmpeg-sys-next/build-lib-speex"]
build-lib-ssh = ["ffmpeg-sys-next/build-lib-ssh"]
build-lib-stagefright-h264 = ["ffmpeg-sys-next/build-lib-stagefright-h264"]
build-lib-theora = ["ffmpeg-sys-next/build-lib-theora"]
build-lib-twolame = ["ffmpeg-sys-next/build-lib-twolame"]
build-lib-utvideo = ["ffmpeg-sys-next/build-lib-utvideo"]
build-lib-vmaf = ["ffmpeg-sys-next/build-lib-vmaf"]
build-lib-vo-aacenc = ["ffmpeg-sys-next/build-lib-vo-aacenc"]
build-lib-vo-amrwbenc = ["ffmpeg-sys-next/build-lib-vo-amrwbenc"]
build-lib-vorbis = ["ffmpeg-sys-next/build-lib-vorbis"]
build-lib-vpx = ["ffmpeg-sys-next/build-lib-vpx"]
build-lib-wavpack = ["ffmpeg-sys-next/build-lib-wavpack"]
build-lib-webp = ["ffmpeg-sys-next/build-lib-webp"]
build-lib-x264 = ["ffmpeg-sys-next/build-lib-x264"]
build-lib-x265 = ["ffmpeg-sys-next/build-lib-x265"]
build-lib-xvid = ["ffmpeg-sys-next/build-lib-xvid"]
build-license-gpl = ["ffmpeg-sys-next/build-license-gpl"]
build-license-nonfree = ["ffmpeg-sys-next/build-license-nonfree"]
build-license-version3 = ["ffmpeg-sys-next/build-license-version3"]
build-pic = ["ffmpeg-sys-next/build-pic"]
build-zlib = ["ffmpeg-sys-next/build-zlib"]
codec = ["ffmpeg-sys-next/avcodec"]
default = [
    "codec",
    "device",
    "filter",
    "format",
    "software-resampling",
    "software-scaling",
]
device = [
    "ffmpeg-sys-next/avdevice",
    "format",
]
ffmpeg4 = []
ffmpeg41 = []
ffmpeg42 = []
ffmpeg43 = []
filter = ["ffmpeg-sys-next/avfilter"]
format = [
    "ffmpeg-sys-next/avformat",
    "codec",
]
non-exhaustive-enums = ["ffmpeg-sys-next/non-exhaustive-enums"]
postprocessing = ["ffmpeg-sys-next/postproc"]
resampling = ["ffmpeg-sys-next/avresample"]
rpi = []
software-resampling = ["ffmpeg-sys-next/swresample"]
software-scaling = [
    "ffmpeg-sys-next/swscale",
    "codec",
]
static = ["ffmpeg-sys-next/static"]

[lib]
name = "neoffmpeg_rs"
path = "src/lib.rs"

[[example]]
name = "chapters"
path = "examples/chapters.rs"

[[example]]
name = "codec-info"
path = "examples/codec-info.rs"

[[example]]
name = "dump-frames"
path = "examples/dump-frames.rs"

[[example]]
name = "metadata"
path = "examples/metadata.rs"

[[example]]
name = "remux"
path = "examples/remux.rs"

[[example]]
name = "transcode-audio"
path = "examples/transcode-audio.rs"

[[example]]
name = "transcode-x264"
path = "examples/transcode-x264.rs"

[dependencies.bitflags]
version = "2.11"

[dependencies.ffmpeg-sys-next]
version = "8.1.0"
default-features = false

[dependencies.image]
version = "0.25"
optional = true

[dependencies.libc]
version = "0.2"
