From 8b68e1bee330293c97595d62ee6cd80ba84dcb74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Tue, 7 May 2024 14:18:10 +0200 Subject: [PATCH 1/2] Rename duplicate crates in workspace --- tests/depfile/single_crate_config/Cargo.lock | 2 +- tests/depfile/single_crate_config/Cargo.toml | 2 +- tests/depfile/single_crate_default_config/Cargo.lock | 2 +- tests/depfile/single_crate_default_config/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/depfile/single_crate_config/Cargo.lock b/tests/depfile/single_crate_config/Cargo.lock index 26d416263..31cb5fba5 100644 --- a/tests/depfile/single_crate_config/Cargo.lock +++ b/tests/depfile/single_crate_config/Cargo.lock @@ -3,5 +3,5 @@ version = 3 [[package]] -name = "single_crate" +name = "single_crate_config" version = "0.1.0" diff --git a/tests/depfile/single_crate_config/Cargo.toml b/tests/depfile/single_crate_config/Cargo.toml index 66eff1125..e275c60a2 100644 --- a/tests/depfile/single_crate_config/Cargo.toml +++ b/tests/depfile/single_crate_config/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "single_crate" +name = "single_crate_config" version = "0.1.0" authors = ["cbindgen"] diff --git a/tests/depfile/single_crate_default_config/Cargo.lock b/tests/depfile/single_crate_default_config/Cargo.lock index 26d416263..84e6506f5 100644 --- a/tests/depfile/single_crate_default_config/Cargo.lock +++ b/tests/depfile/single_crate_default_config/Cargo.lock @@ -3,5 +3,5 @@ version = 3 [[package]] -name = "single_crate" +name = "single_crate_default_config" version = "0.1.0" diff --git a/tests/depfile/single_crate_default_config/Cargo.toml b/tests/depfile/single_crate_default_config/Cargo.toml index 66eff1125..342dacea6 100644 --- a/tests/depfile/single_crate_default_config/Cargo.toml +++ b/tests/depfile/single_crate_default_config/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "single_crate" +name = "single_crate_default_config" version = "0.1.0" authors = ["cbindgen"] From 41430649c00ff8a1477b8a2c2d102bc0e45e1079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Tue, 7 May 2024 16:34:36 +0200 Subject: [PATCH 2/2] Exclude test depfile crates --- Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5df80fd7f..ed990f8be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,3 +50,10 @@ required-features = ["clap"] [lib] name = "cbindgen" path = "src/lib.rs" + +[workspace] +exclude = [ + "tests/depfile/single_crate", + "tests/depfile/single_crate_config", + "tests/depfile/single_crate_default_config" +]