Stop removing the "runtime" feature from the default feature set

epel9 imports/e9/rust-bindgen0.59-0.59.2-3.el9
Fabio Valentini 2 years ago
parent 9e0172d900
commit 9c813426be
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,5 @@
--- bindgen-0.59.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ bindgen-0.59.2/Cargo.toml 2022-11-21T21:02:01.697126+00:00
+++ bindgen-0.59.2/Cargo.toml 2023-01-30T17:43:28.893657+00:00
@@ -24,15 +24,11 @@
categories = ["external-ffi-bindings", "development-tools::ffi"]
license = "BSD-3-Clause"
@ -17,12 +17,3 @@
[dependencies.bitflags]
version = "1.0.3"
@@ -100,7 +96,7 @@
version = "3"
[features]
-default = ["logging", "clap", "runtime", "which-rustfmt"]
+default = ["logging", "clap", "which-rustfmt"]
logging = ["env_logger", "log"]
runtime = ["clang-sys/runtime"]
static = ["clang-sys/static"]

@ -14,7 +14,6 @@ URL: https://crates.io/crates/bindgen
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * do not build bindgen binary from compat package
# * default to linking with libclang instead of using dlopen
Patch: bindgen-fix-metadata.diff
BuildRequires: rust-packaging >= 21

Loading…
Cancel
Save