From 7a60b835b305e0507a74f00137080b49c8d607b5 Mon Sep 17 00:00:00 2001 From: Martin Finkel <me@martinfinkel.com> Date: Wed, 8 Jun 2022 16:07:05 +0700 Subject: [PATCH] build: fix cargo publish --- Cargo.toml | 3 --- libvlc-sys/Cargo.toml | 8 ++------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a19f7b3..9f9703b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/libvlc-sys/Cargo.toml b/libvlc-sys/Cargo.toml index c437a6c..8cc9a0f 100644 --- a/libvlc-sys/Cargo.toml +++ b/libvlc-sys/Cargo.toml @@ -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" \ No newline at end of file