From: LLFourn Date: Wed, 17 Feb 2021 03:47:45 +0000 (+1100) Subject: Remove async-trait from dependencies X-Git-Tag: v0.2.0~3 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/struct.EncoderStringWriter.html?a=commitdiff_plain;h=88e2d7de94d878a4ac374bd52044c6ed6c6fda4c;p=bdk-cli Remove async-trait from dependencies This crate doesn't define or use any async-traits so there's no need. --- diff --git a/Cargo.toml b/Cargo.toml index b662aea..d632fc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/src/lib.rs b/src/lib.rs index 8afd44a..c114501 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;