-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathCargo.toml
46 lines (39 loc) · 1.11 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "rusty_ffmpeg"
version = "0.16.1+ffmpeg.7.0"
authors = ["ldm0 <[email protected]>"]
edition = "2021"
description = "A library that provides Rust bindings for FFmpeg"
documentation = "https://docs.rs/rusty_ffmpeg"
readme = "README.md"
homepage = "https://github.com/CCExtractor/rusty_ffmpeg/"
repository = "https://github.com/CCExtractor/rusty_ffmpeg/"
license = "MIT"
keywords = ["ffmpeg", "ffi", "binding", "video", "audio"]
categories = ["external-ffi-bindings", "multimedia"]
build = "build.rs"
links = "ffmpeg"
exclude = [".github"]
# Doc test of generated binding is non-sense https://github.com/rust-lang/cargo/issues/3720
[lib]
doctest = false
[dependencies]
libc = "0.2"
[build-dependencies]
bindgen = "0.70"
camino = "1.1"
once_cell = "1.12"
vcpkg = { version = "0.2", optional = true }
[target.'cfg(not(windows))'.build-dependencies]
pkg-config = "0.3"
[features]
# Probe and link FFmpeg with pkg-config
link_system_ffmpeg = []
# Probe and link FFmpeg with vcpkg
link_vcpkg_ffmpeg = ["vcpkg"]
# FFmpeg 5.* support
ffmpeg5 = []
# FFmpeg 6.* support
ffmpeg6 = []
# FFmpeg 7.* support
ffmpeg7 = []