cargo: add local building features
This commit is contained in:
parent
8f52dab1e4
commit
248c1151fc
10
Cargo.toml
10
Cargo.toml
@ -10,9 +10,15 @@ repository = "https://github.com/meh/rust-ffmpeg"
|
|||||||
keywords = ["audio", "video"]
|
keywords = ["audio", "video"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["codec", "device", "filter", "format", "resampling", "postprocessing", "software-resampling", "software-scaling"]
|
default = ["codec", "device", "filter", "format", "resampling", "software-resampling", "software-scaling"]
|
||||||
|
|
||||||
|
static = ["ffmpeg-sys/static"]
|
||||||
|
|
||||||
|
build = ["static", "ffmpeg-sys/build"]
|
||||||
|
build-gpl = ["build", "ffmpeg-sys/build-gpl"]
|
||||||
|
build-nonfree = ["build", "ffmpeg-sys/build-nonfree"]
|
||||||
|
build-version3 = ["build", "ffmpeg-sys/build-version3"]
|
||||||
|
|
||||||
static = ["ffmpeg-sys/static"]
|
|
||||||
codec = ["ffmpeg-sys/avcodec"]
|
codec = ["ffmpeg-sys/avcodec"]
|
||||||
device = ["ffmpeg-sys/avdevice", "format"]
|
device = ["ffmpeg-sys/avdevice", "format"]
|
||||||
filter = ["ffmpeg-sys/avfilter"]
|
filter = ["ffmpeg-sys/avfilter"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user