Skip to content

Commit da0a181

Browse files
committed
Bump cargo version
And cleanup redundant imports.
1 parent d4cbe39 commit da0a181

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-c"
3-
version = "0.9.30+cargo-0.77.0"
3+
version = "0.9.31+cargo-0.78.0"
44
authors = ["Luca Barbato <[email protected]>"]
55
description = "Helper program to build and install c-like libraries"
66
license = "MIT"
@@ -28,7 +28,7 @@ name = "cargo-ctest"
2828
path = "src/bin/ctest.rs"
2929

3030
[dependencies]
31-
cargo = "0.77.0"
31+
cargo = "0.78.0"
3232
cargo-util = "0.2"
3333
semver = "1.0.3"
3434
log = "0.4"

src/bin/ctest.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
use cargo::util::command_prelude::*;
2-
use cargo::CliResult;
3-
use cargo::Config;
42

53
use cargo_c::build::*;
64
use cargo_c::cli::run_cargo_fallback;

src/build.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ use std::path::{Path, PathBuf};
44
use std::sync::atomic::{AtomicBool, Ordering};
55
use std::sync::{Arc, Mutex};
66

7-
use cargo::core::compiler::unit_graph::UnitDep;
8-
use cargo::core::compiler::unit_graph::UnitGraph;
9-
use cargo::core::compiler::Unit;
10-
use cargo::core::{compiler::Executor, profiles::Profiles};
11-
use cargo::core::{TargetKind, Workspace};
7+
use cargo::core::compiler::{unit_graph::UnitDep, unit_graph::UnitGraph, Executor, Unit};
8+
use cargo::core::profiles::Profiles;
9+
use cargo::core::{FeatureValue, Package, PackageId, Target, TargetKind, Workspace};
1210
use cargo::ops::{self, CompileFilter, CompileOptions, FilterRule, LibRule};
1311
use cargo::util::command_prelude::{ArgMatches, ArgMatchesExt, CompileMode, ProfileChecking};
1412
use cargo::util::interning::InternedString;
@@ -839,7 +837,6 @@ struct Exec {
839837
link_line: Mutex<HashMap<PackageId, String>>,
840838
}
841839

842-
use cargo::core::*;
843840
use cargo::CargoResult;
844841
use cargo_util::ProcessBuilder;
845842

0 commit comments

Comments
 (0)