Skip to content

Commit

Permalink
Bump cargo version
Browse files Browse the repository at this point in the history
And cleanup redundant imports.
  • Loading branch information
lu-zero committed Mar 22, 2024
1 parent d4cbe39 commit 3ee7a45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-c"
version = "0.9.30+cargo-0.77.0"
version = "0.9.31+cargo-0.78.0"
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
description = "Helper program to build and install c-like libraries"
license = "MIT"
Expand Down Expand Up @@ -28,7 +28,7 @@ name = "cargo-ctest"
path = "src/bin/ctest.rs"

[dependencies]
cargo = "0.77.0"
cargo = "0.78.0"
cargo-util = "0.2"
semver = "1.0.3"
log = "0.4"
Expand Down
2 changes: 0 additions & 2 deletions src/bin/ctest.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
use cargo::util::command_prelude::*;
use cargo::CliResult;
use cargo::Config;

use cargo_c::build::*;
use cargo_c::cli::run_cargo_fallback;
Expand Down
9 changes: 3 additions & 6 deletions src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ use std::path::{Path, PathBuf};
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::{Arc, Mutex};

use cargo::core::compiler::unit_graph::UnitDep;
use cargo::core::compiler::unit_graph::UnitGraph;
use cargo::core::compiler::Unit;
use cargo::core::{compiler::Executor, profiles::Profiles};
use cargo::core::{TargetKind, Workspace};
use cargo::core::compiler::{unit_graph::UnitDep, unit_graph::UnitGraph, Executor, Unit};
use cargo::core::profiles::Profiles;
use cargo::core::{FeatureValue, Package, PackageId, Target, TargetKind, Workspace};
use cargo::ops::{self, CompileFilter, CompileOptions, FilterRule, LibRule};
use cargo::util::command_prelude::{ArgMatches, ArgMatchesExt, CompileMode, ProfileChecking};
use cargo::util::interning::InternedString;
Expand Down Expand Up @@ -839,7 +837,6 @@ struct Exec {
link_line: Mutex<HashMap<PackageId, String>>,
}

use cargo::core::*;
use cargo::CargoResult;
use cargo_util::ProcessBuilder;

Expand Down

0 comments on commit 3ee7a45

Please sign in to comment.