diff --git a/Cargo.lock b/Cargo.lock index f7deee5..121e01f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -536,7 +536,7 @@ dependencies = [ [[package]] name = "servicepoint_binding_c" -version = "0.14.1" +version = "0.15.0" dependencies = [ "cbindgen", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 5e29900..f6bd53b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "servicepoint_binding_c" -version = "0.14.1" +version = "0.15.0" publish = true edition = "2021" license = "GPL-3.0-or-later" diff --git a/build.rs b/build.rs index 615d00f..397341d 100644 --- a/build.rs +++ b/build.rs @@ -35,7 +35,7 @@ fn main() { if let Ok(header_out) = env::var("SERVICEPOINT_HEADER_OUT") { let header_copy = header_out + "/servicepoint.h"; - if fs::exists(&header_copy).ok().unwrap_or(false) { + if fs::exists(&header_copy).unwrap_or(false) { // check if content changed to prevent rebuild of dependents if not let mut bindings_text = Vec::new();