From 88e2d7de94d878a4ac374bd52044c6ed6c6fda4c Mon Sep 17 00:00:00 2001 From: LLFourn Date: Wed, 17 Feb 2021 14:47:45 +1100 Subject: [PATCH] Remove async-trait from dependencies This crate doesn't define or use any async-traits so there's no need. --- Cargo.toml | 3 +-- src/lib.rs | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) 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; -- 2.49.0