From 4492f25eee52790f74fab9386e2bc6e72fb70179 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Apr 2022 13:29:06 +0200 Subject: [PATCH 1/3] Rename `validator` to `export-validator` The new name is more explicit, and thus easier to understand. --- .github/workflows/ci.yml | 2 +- Cargo.lock | 14 +++++++------- tools/validator/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49d2fed1e..1d4c1279d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,4 +91,4 @@ jobs: - uses: actions-rs/cargo@4ff6ec2846f6e7217c1a9b0b503506665f134c4b with: command: run - args: --package validator + args: --package export-validator diff --git a/Cargo.lock b/Cargo.lock index cfc8c07e4..cbbf6c6e9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -639,6 +639,13 @@ dependencies = [ "termcolor", ] +[[package]] +name = "export-validator" +version = "0.1.0" +dependencies = [ + "anyhow", +] + [[package]] name = "faccess" version = "0.2.4" @@ -2789,13 +2796,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "validator" -version = "0.1.0" -dependencies = [ - "anyhow", -] - [[package]] name = "valuable" version = "0.1.0" diff --git a/tools/validator/Cargo.toml b/tools/validator/Cargo.toml index ad750353c..20fb36db3 100644 --- a/tools/validator/Cargo.toml +++ b/tools/validator/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "validator" +name = "export-validator" version = "0.1.0" edition = "2021" publish = false From 6ab0e627484c70a6c57937e9589c4eaddca24ba2 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Apr 2022 13:29:53 +0200 Subject: [PATCH 2/3] Update directory name --- Cargo.toml | 2 +- tools/{validator => export-validator}/Cargo.toml | 0 tools/{validator => export-validator}/README.md | 0 tools/{validator => export-validator}/src/main.rs | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename tools/{validator => export-validator}/Cargo.toml (100%) rename tools/{validator => export-validator}/README.md (100%) rename tools/{validator => export-validator}/src/main.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 0802afc10..67d654358 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,8 @@ members = [ "models/spacer", "models/star", + "tools/export-validator", "tools/release-operator", - "tools/validator", ] default-members = [ "crates/fj-app", diff --git a/tools/validator/Cargo.toml b/tools/export-validator/Cargo.toml similarity index 100% rename from tools/validator/Cargo.toml rename to tools/export-validator/Cargo.toml diff --git a/tools/validator/README.md b/tools/export-validator/README.md similarity index 100% rename from tools/validator/README.md rename to tools/export-validator/README.md diff --git a/tools/validator/src/main.rs b/tools/export-validator/src/main.rs similarity index 100% rename from tools/validator/src/main.rs rename to tools/export-validator/src/main.rs From 8e76b3d6eeb4da0fac1f2a4f94d0d33e7cf17e7b Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 14 Apr 2022 13:30:19 +0200 Subject: [PATCH 3/3] Update `export-validator` README --- tools/export-validator/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/export-validator/README.md b/tools/export-validator/README.md index 6130f2213..c52649e80 100644 --- a/tools/export-validator/README.md +++ b/tools/export-validator/README.md @@ -1,3 +1,3 @@ -# Validator +# Export Validator Used by the CI build to export (and in the future, validate) 3MF files.