From 669340333abf571358e2ae1c0667b82c227a9b7f Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 19 Mar 2021 21:15:26 -0700 Subject: [PATCH] Split util code into a separate package. --- Cargo.toml | 1 + crates/cargo-util/Cargo.toml | 11 +++++++++++ crates/cargo-util/src/lib.rs | 1 + 3 files changed, 13 insertions(+) create mode 100644 crates/cargo-util/Cargo.toml create mode 100644 crates/cargo-util/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 32f1c839e..febafd3b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,7 @@ path = "src/cargo/lib.rs" atty = "0.2" bytesize = "1.0" cargo-platform = { path = "crates/cargo-platform", version = "0.1.1" } +cargo-util = { path = "crates/cargo-util", version = "0.1.0" } crates-io = { path = "crates/crates-io", version = "0.33.0" } crossbeam-utils = "0.8" crypto-hash = "0.3.1" diff --git a/crates/cargo-util/Cargo.toml b/crates/cargo-util/Cargo.toml new file mode 100644 index 000000000..9c6d9e9bd --- /dev/null +++ b/crates/cargo-util/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "cargo-util" +version = "0.1.0" +authors = ["The Cargo Project Developers"] +edition = "2018" +license = "MIT OR Apache-2.0" +homepage = "https://github.com/rust-lang/cargo" +repository = "https://github.com/rust-lang/cargo" +description = "Miscellaneous support code used by Cargo." + +[dependencies] diff --git a/crates/cargo-util/src/lib.rs b/crates/cargo-util/src/lib.rs new file mode 100644 index 000000000..a02f106e3 --- /dev/null +++ b/crates/cargo-util/src/lib.rs @@ -0,0 +1 @@ +//! Miscellaneous support code used by Cargo.