Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ffmpeg4-sys"
version = "4.3.0-pre.0"
version = "4.3.0"
build = "build.rs"
links = "ffmpeg"

Expand All @@ -13,10 +13,6 @@ license = "WTFPL"
description = "FFI bindings to FFmpeg"
repository = "https://github.com/bacek/rust-ffmpeg4-sys"
keywords = ["audio", "video"]
# Don't package ffmpeg submodule
exclude = [
"ffmpeg"
]

[lib]
# Disable doctests as a workaround for https://github.com/rust-lang/rust-bindgen/issues/1313
Expand Down
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ fn build() -> io::Result<()> {
// do not build programs since we don't need them
configure.arg("--disable-programs");

// do not build doc
configure.arg("--disable-doc");

// yasm is not available on docs.rs. Build crooked version
if env::var("CARGO_FEATURE_BUILD_DISABLE_X86ASM").is_ok() {
configure.arg("--disable-x86asm");
Expand Down