From 0fe12b815a046fd3df43c81fe0b593de519b053b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Hauspie?= <michael.hauspie@univ-lille.fr> Date: Tue, 11 Jun 2024 17:05:54 +0200 Subject: [PATCH] Change crate name to cargo-pip --- Cargo.lock | 22 +++++++++++----------- Cargo.toml | 4 ++-- src/main.rs | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d6a04eb..d7993b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -139,6 +139,17 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +[[package]] +name = "cargo-pip" +version = "0.1.0" +dependencies = [ + "anyhow", + "cargo-scaffold", + "clap", + "elf", + "thiserror", +] + [[package]] name = "cargo-scaffold" version = "0.12.0" @@ -761,17 +772,6 @@ dependencies = [ "sha2", ] -[[package]] -name = "pip-tool" -version = "0.1.0" -dependencies = [ - "anyhow", - "cargo-scaffold", - "clap", - "elf", - "thiserror", -] - [[package]] name = "pkg-config" version = "0.3.30" diff --git a/Cargo.toml b/Cargo.toml index 375aed0..5acc48b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pip-tool" +name = "cargo-pip" version = "0.1.0" edition = "2021" authors = ["Michaƫl Hauspie <michael.hauspie@univ-lille.fr>", "Damien Amara <damien.amara@univ-lille.fr", "Gilles Grimaud <gilles.grimaud@univ-lille.fr>"] @@ -12,7 +12,7 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] path = "src/main.rs" -name = "pip-tool" +name = "cargo-pip" [dependencies] diff --git a/src/main.rs b/src/main.rs index 4b2b45b..ba22daa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ #![doc = include_str!("../README.md")] use clap::Parser; -use pip_tool::{Opts,execute}; +use cargo_pip::{Opts,execute}; use anyhow::Result; -- GitLab