From 05c8cdc97cea1cb77c96f1d8d5345572ae61b3c1 Mon Sep 17 00:00:00 2001 From: lukacan Date: Wed, 15 Jan 2025 22:44:50 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Update=20cargo=20tomls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 1 - crates/{config => client/src}/template/Trident.toml.tmpl | 0 crates/client/src/test_generator.rs | 2 +- crates/config/Cargo.toml | 4 ++++ crates/fuzz/Cargo.toml | 1 - crates/template/Cargo.toml | 5 ++++- 6 files changed, 9 insertions(+), 4 deletions(-) rename crates/{config => client/src}/template/Trident.toml.tmpl (100%) diff --git a/Cargo.lock b/Cargo.lock index 2bc4c4a2..ef82ecc7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3934,7 +3934,6 @@ dependencies = [ "byteorder", "fehler", "honggfuzz", - "log", "prettytable", "rand 0.8.5", "serde", diff --git a/crates/config/template/Trident.toml.tmpl b/crates/client/src/template/Trident.toml.tmpl similarity index 100% rename from crates/config/template/Trident.toml.tmpl rename to crates/client/src/template/Trident.toml.tmpl diff --git a/crates/client/src/test_generator.rs b/crates/client/src/test_generator.rs index e1e765bc..6222433a 100644 --- a/crates/client/src/test_generator.rs +++ b/crates/client/src/test_generator.rs @@ -180,7 +180,7 @@ impl TestGenerator { let cargo_toml_content = load_template!("/src/template/Cargo_fuzz.toml.tmpl"); - let trident_toml_content = load_template!("/../config/template/Trident.toml.tmpl"); + let trident_toml_content = load_template!("/src/template/Trident.toml.tmpl"); create_file(&self.root, &fuzz_test_path, &self.test_fuzz).await?; create_file(&self.root, &fuzz_instructions_path, &self.fuzz_instructions).await?; diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index 05cc7f9e..a29c98bc 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -2,6 +2,10 @@ name = "trident-config" version = "0.0.1" edition = "2021" +repository = "https://github.com/Ackee-Blockchain/trident" +license-file = "../../LICENSE" +readme = "../../README.md" +description = "The trident config crate is dedicated to manage Trident.toml." [dependencies] diff --git a/crates/fuzz/Cargo.toml b/crates/fuzz/Cargo.toml index 0ac531dd..b93e7aa3 100644 --- a/crates/fuzz/Cargo.toml +++ b/crates/fuzz/Cargo.toml @@ -43,7 +43,6 @@ anyhow = "1" fehler = "1" toml = { version = "0.8", features = ["preserve_order"] } rand = "0.8" -log = "*" bincode = "1.3" byteorder = "1.5.0" base64 = "0.22.1" diff --git a/crates/template/Cargo.toml b/crates/template/Cargo.toml index 9b471533..17057aed 100644 --- a/crates/template/Cargo.toml +++ b/crates/template/Cargo.toml @@ -2,7 +2,10 @@ name = "trident-template" version = "0.0.1" edition = "2021" - +repository = "https://github.com/Ackee-Blockchain/trident" +license-file = "../../LICENSE" +readme = "../../README.md" +description = "The trident template crate is dedicated to generated Trident fuzz test templates." [dependencies] # Trident IDL spec