forked from zmwangx/rust-ffmpeg-sys
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
122 lines (104 loc) · 2.62 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[package]
name = "ffmpeg-sys-next"
version = "7.1.0"
build = "build.rs"
links = "ffmpeg"
authors = ["meh. <[email protected]>", "Zhiming Wang <[email protected]>"]
license = "WTFPL"
description = "FFI bindings to FFmpeg"
repository = "https://github.com/zmwangx/rust-ffmpeg-sys"
keywords = ["audio", "video"]
[lib]
# Disable doctests as a workaround for https://github.com/rust-lang/rust-bindgen/issues/1313
doctest = false
[dependencies]
libc = "0.2"
[build-dependencies]
num_cpus = "1.16"
cc = "1.1"
pkg-config = "0.3"
flate2 = "1.0"
tar = "0.4"
bindgen = { version = "0.70", default-features = false, features = ["runtime"] }
[target.'cfg(target_env = "msvc")'.build-dependencies]
vcpkg = "0.2"
[features]
default = [
"avcodec",
"avdevice",
"avfilter",
"avformat",
"swresample",
"swscale",
]
static = []
build = ["static"]
# mark enums in generated bindings as #[non_exhaustive]
non-exhaustive-enums = []
# licensing
build-license-gpl = ["build"]
build-license-nonfree = ["build"]
build-license-version3 = ["build"]
# misc
build-drm = ["build"]
build-nvenc = ["build"]
build-pic = ["build"]
build-zlib = ["build"]
# ssl
build-lib-gnutls = ["build"]
build-lib-openssl = ["build"]
# filters
build-lib-fontconfig = ["build"]
build-lib-frei0r = ["build"]
build-lib-ladspa = ["build"]
build-lib-ass = ["build"]
build-lib-freetype = ["build"]
build-lib-freebidi = ["build"]
build-lib-opencv = ["build"]
build-lib-vmaf = ["build"]
# encoders/decoders
build-lib-aacplus = ["build"]
build-lib-celt = ["build"]
build-lib-dav1d = ["build"]
build-lib-dcadec = ["build"]
build-lib-faac = ["build"]
build-lib-fdk-aac = ["build"]
build-lib-gsm = ["build"]
build-lib-ilbc = ["build"]
build-lib-kvazaar = ["build"]
build-lib-mp3lame = ["build"]
build-lib-opencore-amrnb = ["build"]
build-lib-opencore-amrwb = ["build"]
build-lib-openh264 = ["build"]
build-lib-openjpeg = ["build"]
build-lib-opus = ["build"]
build-lib-schroedinger = ["build"]
build-lib-shine = ["build"]
build-lib-snappy = ["build"]
build-lib-speex = ["build"]
build-lib-stagefright-h264 = ["build"]
build-lib-theora = ["build"]
build-lib-twolame = ["build"]
build-lib-utvideo = ["build"]
build-lib-vo-aacenc = ["build"]
build-lib-vo-amrwbenc = ["build"]
build-lib-vorbis = ["build"]
build-lib-vpx = ["build"]
build-lib-wavpack = ["build"]
build-lib-webp = ["build"]
build-lib-x264 = ["build"]
build-lib-x265 = ["build"]
build-lib-avs = ["build"]
build-lib-xvid = ["build"]
# protocols
build-lib-smbclient = ["build"]
build-lib-ssh = ["build"]
# components
avcodec = []
avdevice = ["avformat"]
avfilter = []
avformat = ["avcodec"]
avresample = []
postproc = []
swresample = []
swscale = []