Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-c"
version = "0.10.13+cargo-0.88.0"
version = "0.10.14+cargo-0.89.0"
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
description = "Helper program to build and install c-like libraries"
license = "MIT"
Expand All @@ -9,7 +9,7 @@ readme = "README.md"
repository = "https://github.com/lu-zero/cargo-c"
categories = ["command-line-utilities", "development-tools::cargo-plugins"]
keywords = ["cargo", "cdylib"]
rust-version = "1.85"
rust-version = "1.86"

[[bin]]
name = "cargo-capi"
Expand All @@ -28,13 +28,13 @@ name = "cargo-ctest"
path = "src/bin/ctest.rs"

[dependencies]
cargo = "0.88.0"
cargo = "0.89.0"
cargo-util = "0.2"
semver = "1.0.3"
log = "0.4"
clap = { version = "4.5.18", features = ["color", "derive", "cargo", "string", "wrap_help"] }
regex = "1.5.6"
cbindgen = { version="0.28.0", default-features=false }
cbindgen = { version="0.29.0", default-features=false }
toml = "0.8"
serde = "1.0.123"
serde_derive = "1.0"
Expand All @@ -44,7 +44,7 @@ cc = "1.0"
glob = "0.3"
itertools = "0.14"
implib = "0.3.5"
object = { version = "0.36.4", default-features = false, features = ["std", "read_core", "pe"] }
object = { version = "0.37.1", default-features = false, features = ["std", "read_core", "pe"] }

[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl UnixLibNames {
"{}.{}.{}.{}",
lib, lib_version.major, lib_version.minor, lib_version.patch
);
let lib_with_main_ver = format!("{}.{}", lib, main_version);
let lib_with_main_ver = format!("{lib}.{main_version}");

Some(Self {
canonical: lib,
Expand All @@ -141,7 +141,7 @@ impl UnixLibNames {
}
LibType::Dylib => {
let lib = format!("lib{lib_name}.dylib");
let lib_with_main_ver = format!("lib{}.{}.dylib", lib_name, main_version);
let lib_with_main_ver = format!("lib{lib_name}.{main_version}.dylib");

let lib_with_full_ver = format!(
"lib{}.{}.{}.{}.dylib",
Expand Down
2 changes: 1 addition & 1 deletion src/pkg_config_gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl PkgConfig {

if !self.requires_private.is_empty() {
let joined = self.requires_private.join(", ");
writeln!(w, "Requires.private: {}", joined)?;
writeln!(w, "Requires.private: {joined}")?;
}

Ok(w)
Expand Down