From 1c0c5e304ccc2e6430f1ca0e0f2b1e58fd397158 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Fri, 24 Apr 2020 21:27:33 +0200 Subject: [PATCH] init cargo workspace Enables splittig up the code a bit more, and hopefully helps keep the compilation time down. --- ofborg/Cargo.lock => Cargo.lock | 0 Cargo.toml | 11 +++++++++++ ofborg/Cargo.toml | 7 ------- 3 files changed, 11 insertions(+), 7 deletions(-) rename ofborg/Cargo.lock => Cargo.lock (100%) create mode 100644 Cargo.toml diff --git a/ofborg/Cargo.lock b/Cargo.lock similarity index 100% rename from ofborg/Cargo.lock rename to Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..46a6e0a --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,11 @@ +[workspace] +members = [ + "ofborg" +] + +[profile.release] +debug = true + +[patch.crates-io] +#hubcaps = { path = "../hubcaps" } +#amq-proto = { path = "rust-amq-proto" } diff --git a/ofborg/Cargo.toml b/ofborg/Cargo.toml index e106079..4a49573 100644 --- a/ofborg/Cargo.toml +++ b/ofborg/Cargo.toml @@ -28,10 +28,3 @@ nom = "4.0.0-beta3" sys-info = "0.5.6" chrono = "0.4.6" separator = "0.4.1" - -[profile.release] -debug = true - -[patch.crates-io] -#hubcaps = { path = "../hubcaps" } -#amq-proto = { path = "rust-amq-proto" }