From 2bbb2b5830f76eab3d282bba5a1f8bc1e9d2d423 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Fri, 11 Oct 2024 11:53:22 -0500 Subject: [PATCH] Make fast-louvain importable directly from the git repo --- Cargo.toml | 3 +-- modules/application/Cargo.toml | 2 +- modules/cli/Cargo.toml | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 30f7112..62adae4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,8 +14,7 @@ path = "modules/bin/louvain.rs" members = ["modules/cli", "modules/application", "modules/domain"] [dependencies] -# Workspace dependencies -louvain-cli = "0.0.0" +louvain-cli = { path = "modules/cli" } [patch.crates-io] louvain-cli = { path = "modules/cli" } diff --git a/modules/application/Cargo.toml b/modules/application/Cargo.toml index 837e462..12cd5e9 100644 --- a/modules/application/Cargo.toml +++ b/modules/application/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] # Workspace dependencies -louvain-domain = "0.0.0" +louvain-domain = { path = "../domain" } # External dependencies rand = "0.8.5" diff --git a/modules/cli/Cargo.toml b/modules/cli/Cargo.toml index 8e83f58..e28a2e5 100644 --- a/modules/cli/Cargo.toml +++ b/modules/cli/Cargo.toml @@ -6,8 +6,8 @@ publish = false [dependencies] # Workspace dependencies -louvain-application = "0.0.0" -louvain-domain = "0.0.0" +louvain-application = { path = "../application" } +louvain-domain = { path = "../domain" } # External dependencies clap = { version = "4.0", features = ["derive"] }