From 8c81a6d61b1fde3d7d83950d43994b319fe6bd6c Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Mon, 10 Aug 2020 10:49:34 +0200 Subject: [PATCH] [tests] Add a proc macro to generate tests for `OnlineBlockchain` types --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5896b05..71af2de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,14 @@ key-value-db = ["sled"] cli-utils = ["clap", "base64"] async-interface = ["async-trait"] +# Debug/Test features +debug-proc-macros = ["magical-macros/debug", "testutils-macros/debug"] +test-electrum = ["electrum"] + [dev-dependencies] +testutils = { path = "./testutils" } +testutils-macros = { path = "./testutils-macros" } +serial_test = "0.4" lazy_static = "1.4" rustyline = "6.0" dirs = "2.0" @@ -67,3 +74,5 @@ name = "magic" path = "examples/repl.rs" required-features = ["cli-utils"] +[workspace] +members = ["macros", "testutils", "testutils-macros"] -- 2.49.0