From: Alekos Filini Date: Mon, 10 Aug 2020 09:41:19 +0000 (+0200) Subject: Add a feature to enable the async interface on non-wasm32 platforms X-Git-Tag: 0.1.0-beta.1~14 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.EncoderStringWriter.html?a=commitdiff_plain;h=31d5f4d73ee1477f710372d4e91139def0c4f104;p=bdk-cli Add a feature to enable the async interface on non-wasm32 platforms Follow-up to: #28 --- 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"