From 31d5f4d73ee1477f710372d4e91139def0c4f104 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Mon, 10 Aug 2020 11:41:19 +0200 Subject: [PATCH] Add a feature to enable the async interface on non-wasm32 platforms Follow-up to: #28 --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ee6d121..5896b05 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,7 @@ reqwest = { version = "0.10", optional = true, features = ["json"] } futures = { version = "0.3", optional = true } clap = { version = "2.33", optional = true } base64 = { version = "^0.11", optional = true } +async-trait = { version = "0.1", optional = true } # Platform-specific dependencies [target.'cfg(not(target_arch = "wasm32"))'.dependencies] @@ -37,6 +38,7 @@ electrum = ["electrum-client"] esplora = ["reqwest", "futures"] key-value-db = ["sled"] cli-utils = ["clap", "base64"] +async-interface = ["async-trait"] [dev-dependencies] lazy_static = "1.4" -- 2.49.0