From 604153493624338eeb700856c71b9735154b7bd0 Mon Sep 17 00:00:00 2001 From: Alexis Asseman Date: Thu, 2 Nov 2023 14:48:32 -0700 Subject: [PATCH] refactor: dashes in bin and crate names Instead of underscores. Signed-off-by: Alexis Asseman --- Cargo.lock | 2 +- Cargo.toml | 2 +- {tap_agent => tap-agent}/Cargo.toml | 4 ++-- {tap_agent => tap-agent}/src/agent.rs | 0 {tap_agent => tap-agent}/src/aggregator_endpoints.rs | 0 {tap_agent => tap-agent}/src/config.rs | 0 {tap_agent => tap-agent}/src/database.rs | 0 {tap_agent => tap-agent}/src/main.rs | 0 {tap_agent => tap-agent}/src/tap/account.rs | 0 {tap_agent => tap-agent}/src/tap/accounts_manager.rs | 0 {tap_agent => tap-agent}/src/tap/escrow_adapter.rs | 0 {tap_agent => tap-agent}/src/tap/mod.rs | 0 {tap_agent => tap-agent}/src/tap/rav_storage_adapter.rs | 0 {tap_agent => tap-agent}/src/tap/receipt_checks_adapter.rs | 0 {tap_agent => tap-agent}/src/tap/receipt_storage_adapter.rs | 0 {tap_agent => tap-agent}/src/tap/test_utils.rs | 0 16 files changed, 4 insertions(+), 4 deletions(-) rename {tap_agent => tap-agent}/Cargo.toml (95%) rename {tap_agent => tap-agent}/src/agent.rs (100%) rename {tap_agent => tap-agent}/src/aggregator_endpoints.rs (100%) rename {tap_agent => tap-agent}/src/config.rs (100%) rename {tap_agent => tap-agent}/src/database.rs (100%) rename {tap_agent => tap-agent}/src/main.rs (100%) rename {tap_agent => tap-agent}/src/tap/account.rs (100%) rename {tap_agent => tap-agent}/src/tap/accounts_manager.rs (100%) rename {tap_agent => tap-agent}/src/tap/escrow_adapter.rs (100%) rename {tap_agent => tap-agent}/src/tap/mod.rs (100%) rename {tap_agent => tap-agent}/src/tap/rav_storage_adapter.rs (100%) rename {tap_agent => tap-agent}/src/tap/receipt_checks_adapter.rs (100%) rename {tap_agent => tap-agent}/src/tap/receipt_storage_adapter.rs (100%) rename {tap_agent => tap-agent}/src/tap/test_utils.rs (100%) diff --git a/Cargo.lock b/Cargo.lock index b51e9f8a..fdb997d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2951,7 +2951,7 @@ dependencies = [ ] [[package]] -name = "indexer_tap_agent" +name = "indexer-tap-agent" version = "0.1.0" dependencies = [ "alloy-primitives", diff --git a/Cargo.toml b/Cargo.toml index 61b4060f..28f64562 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = [ "common", "service", - "tap_agent", + "tap-agent", ] resolver = "2" diff --git a/tap_agent/Cargo.toml b/tap-agent/Cargo.toml similarity index 95% rename from tap_agent/Cargo.toml rename to tap-agent/Cargo.toml index dcf63e78..64aef9af 100644 --- a/tap_agent/Cargo.toml +++ b/tap-agent/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "indexer_tap_agent" +name = "indexer-tap-agent" version = "0.1.0" edition = "2021" publish = false [[bin]] -name = "indexer_tap_agent" +name = "indexer-tap-agent" path = "src/main.rs" [dependencies] diff --git a/tap_agent/src/agent.rs b/tap-agent/src/agent.rs similarity index 100% rename from tap_agent/src/agent.rs rename to tap-agent/src/agent.rs diff --git a/tap_agent/src/aggregator_endpoints.rs b/tap-agent/src/aggregator_endpoints.rs similarity index 100% rename from tap_agent/src/aggregator_endpoints.rs rename to tap-agent/src/aggregator_endpoints.rs diff --git a/tap_agent/src/config.rs b/tap-agent/src/config.rs similarity index 100% rename from tap_agent/src/config.rs rename to tap-agent/src/config.rs diff --git a/tap_agent/src/database.rs b/tap-agent/src/database.rs similarity index 100% rename from tap_agent/src/database.rs rename to tap-agent/src/database.rs diff --git a/tap_agent/src/main.rs b/tap-agent/src/main.rs similarity index 100% rename from tap_agent/src/main.rs rename to tap-agent/src/main.rs diff --git a/tap_agent/src/tap/account.rs b/tap-agent/src/tap/account.rs similarity index 100% rename from tap_agent/src/tap/account.rs rename to tap-agent/src/tap/account.rs diff --git a/tap_agent/src/tap/accounts_manager.rs b/tap-agent/src/tap/accounts_manager.rs similarity index 100% rename from tap_agent/src/tap/accounts_manager.rs rename to tap-agent/src/tap/accounts_manager.rs diff --git a/tap_agent/src/tap/escrow_adapter.rs b/tap-agent/src/tap/escrow_adapter.rs similarity index 100% rename from tap_agent/src/tap/escrow_adapter.rs rename to tap-agent/src/tap/escrow_adapter.rs diff --git a/tap_agent/src/tap/mod.rs b/tap-agent/src/tap/mod.rs similarity index 100% rename from tap_agent/src/tap/mod.rs rename to tap-agent/src/tap/mod.rs diff --git a/tap_agent/src/tap/rav_storage_adapter.rs b/tap-agent/src/tap/rav_storage_adapter.rs similarity index 100% rename from tap_agent/src/tap/rav_storage_adapter.rs rename to tap-agent/src/tap/rav_storage_adapter.rs diff --git a/tap_agent/src/tap/receipt_checks_adapter.rs b/tap-agent/src/tap/receipt_checks_adapter.rs similarity index 100% rename from tap_agent/src/tap/receipt_checks_adapter.rs rename to tap-agent/src/tap/receipt_checks_adapter.rs diff --git a/tap_agent/src/tap/receipt_storage_adapter.rs b/tap-agent/src/tap/receipt_storage_adapter.rs similarity index 100% rename from tap_agent/src/tap/receipt_storage_adapter.rs rename to tap-agent/src/tap/receipt_storage_adapter.rs diff --git a/tap_agent/src/tap/test_utils.rs b/tap-agent/src/tap/test_utils.rs similarity index 100% rename from tap_agent/src/tap/test_utils.rs rename to tap-agent/src/tap/test_utils.rs