build: fix cargo publish

merge-requests/14/head
Martin Finkel 2022-06-08 16:07:05 +07:00
parent 04c32cc81a
commit 7a60b835b3
2 changed files with 2 additions and 9 deletions

View File

@ -21,6 +21,3 @@ crate-type = ["rlib"]
libc = "0.2"
libvlc-sys = { version = "0.2.0", path = "libvlc-sys" }
[features]
default = []
use-bindgen = ["libvlc-sys/use-bindgen"]

View File

@ -21,12 +21,8 @@ crate-type = ["rlib"]
libc = "0.2"
[build-dependencies]
bindgen = {version = "0.59", optional = true }
bindgen = {version = "0.59"}
pkg-config = "0.3"
[target.'cfg(target_os = "windows")'.build-dependencies]
vswhom = "0.1.0"
[features]
default = []
use-bindgen = ["bindgen"]
vswhom = "0.1.0"