From fb0037c57a9e73d1bec51877923ed38284b39aca Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 23 Dec 2024 16:38:32 -0500 Subject: [PATCH] Increase pkg-config dependency lower bound to 0.3.17 Otherwise the Library .version field may contain a newline, and Version::parse, wich is used in both build scripts, panics. Signed-off-by: mulhern --- Cargo.toml | 2 +- libcryptsetup-rs-sys/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 05f94dc6..96844712 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ version = "1.0.0" features = ["v4"] [build-dependencies] -pkg-config = "0.3.15" +pkg-config = "0.3.17" semver = "1.0.0" [dev-dependencies] diff --git a/libcryptsetup-rs-sys/Cargo.toml b/libcryptsetup-rs-sys/Cargo.toml index 76b88314..5dc63405 100644 --- a/libcryptsetup-rs-sys/Cargo.toml +++ b/libcryptsetup-rs-sys/Cargo.toml @@ -14,7 +14,7 @@ keywords = ["storage", "cryptsetup"] [build-dependencies] cc = "1.0.45" -pkg-config = "0.3.15" +pkg-config = "0.3.17" semver = "1.0.0" [build-dependencies.bindgen]