]> Untitled Git - bdk-cli/commitdiff
Remove async-trait from dependencies
authorLLFourn <lloyd.fourn@gmail.com>
Wed, 17 Feb 2021 03:47:45 +0000 (14:47 +1100)
committerLLFourn <lloyd.fourn@gmail.com>
Fri, 26 Feb 2021 01:30:03 +0000 (12:30 +1100)
This crate doesn't define or use any async-traits so there's no need.

Cargo.toml
src/lib.rs

index b662aeace1b9c238b4a583cac2523390da27911f..d632fc68d3853cf1025250a4c648d23de965b787 100644 (file)
@@ -20,7 +20,6 @@ log = "^0.4"
 base64 = "^0.11"
 
 # Optional dependencies
-async-trait = { version = "0.1", optional = true }
 rustyline = { version = "6.0", optional = true }
 dirs-next = { version = "2.0", optional = true }
 env_logger = { version = "0.7", optional = true }
@@ -29,7 +28,7 @@ regex = {version = "1", optional = true }
 
 [features]
 default = []
-repl = ["async-trait", "bdk/key-value-db", "clap", "dirs-next", "env_logger", "regex", "rustyline"]
+repl = ["bdk/key-value-db", "clap", "dirs-next", "env_logger", "regex", "rustyline"]
 electrum = ["bdk/electrum"]
 esplora = ["bdk/esplora"]
 compiler = ["bdk/compiler"]
index 8afd44a39b32d71e0dbfcbc3d24365641a0cd30c..c1145010dccddaefe1f9ff5e9ed9bbe619e7fd02 100644 (file)
@@ -97,9 +97,6 @@
 pub extern crate bdk;
 #[macro_use]
 extern crate serde_json;
-#[cfg(any(target_arch = "wasm32", feature = "async-interface"))]
-#[macro_use]
-extern crate async_trait;
 #[macro_use]
 extern crate bdk_macros;