From 3a5d7278999d1be9a9edb5d161dfaeed80e255b9 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Thu, 2 Mar 2023 20:38:10 -0600 Subject: [PATCH] Update workspace dependencies to be relative paths --- crates/bdk/Cargo.toml | 5 +++-- crates/electrum/Cargo.toml | 2 +- crates/esplora/Cargo.toml | 2 +- crates/file_store/Cargo.toml | 2 +- example-crates/keychain_tracker_electrum/Cargo.toml | 2 +- example-crates/keychain_tracker_esplora/Cargo.toml | 2 +- example-crates/keychain_tracker_example_cli/Cargo.toml | 2 +- nursery/coin_select/Cargo.toml | 2 +- nursery/tmp_plan/Cargo.toml | 2 +- nursery/tmp_plan/bdk_tmp_plan/Cargo.toml | 2 +- 10 files changed, 12 insertions(+), 11 deletions(-) diff --git a/crates/bdk/Cargo.toml b/crates/bdk/Cargo.toml index ca0efa9c..c4b01028 100644 --- a/crates/bdk/Cargo.toml +++ b/crates/bdk/Cargo.toml @@ -19,11 +19,12 @@ miniscript = { version = "9", features = ["serde"] } bitcoin = { version = "0.29", features = ["serde", "base64", "rand"] } serde = { version = "^1.0", features = ["derive"] } serde_json = { version = "^1.0" } -bdk_chain = { version = "0.1", features = ["miniscript", "serde"] } +bdk_chain = { path = "../chain", version = "0.3.1", features = ["miniscript", "serde"] } # Optional dependencies hwi = { version = "0.5", optional = true, features = [ "use-miniscript"] } bip39 = { version = "1.0.1", optional = true } +bdk_file_store = { path = "../file_store", version = "0.0.1", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = "0.2" @@ -33,7 +34,7 @@ js-sys = "0.3" [features] default = ["std"] std = [] -file-store = [ "std", "bdk_chain/file_store"] +file-store = [ "std", "bdk_file_store"] compiler = ["miniscript/compiler"] all-keys = ["keys-bip39"] keys-bip39 = ["bip39"] diff --git a/crates/electrum/Cargo.toml b/crates/electrum/Cargo.toml index 05b93160..a7a7ec2b 100644 --- a/crates/electrum/Cargo.toml +++ b/crates/electrum/Cargo.toml @@ -12,5 +12,5 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bdk_chain = { path = "../chain", version = "0.3", features = ["serde", "miniscript"] } +bdk_chain = { path = "../chain", version = "0.3.1", features = ["serde", "miniscript"] } electrum-client = { version = "0.12" } diff --git a/crates/esplora/Cargo.toml b/crates/esplora/Cargo.toml index c76325b7..2ab251ea 100644 --- a/crates/esplora/Cargo.toml +++ b/crates/esplora/Cargo.toml @@ -12,5 +12,5 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bdk_chain = { path = "../chain", version = "0.3", features = ["serde", "miniscript"] } +bdk_chain = { path = "../chain", version = "0.3.1", features = ["serde", "miniscript"] } esplora-client = { version = "0.3" } diff --git a/crates/file_store/Cargo.toml b/crates/file_store/Cargo.toml index 06d76171..38a98f0e 100644 --- a/crates/file_store/Cargo.toml +++ b/crates/file_store/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/bitcoindevkit/bdk" [dependencies] -bdk_chain = { path = "../chain", version = "0.3", features = [ "serde", "miniscript" ] } +bdk_chain = { path = "../chain", version = "0.3.1", features = [ "serde", "miniscript" ] } bincode = { version = "2.0.0-rc.2", features = [ "serde" ] } serde = { version = "1", features = ["derive"] } diff --git a/example-crates/keychain_tracker_electrum/Cargo.toml b/example-crates/keychain_tracker_electrum/Cargo.toml index 4eceaa70..e2cbf6af 100644 --- a/example-crates/keychain_tracker_electrum/Cargo.toml +++ b/example-crates/keychain_tracker_electrum/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2021" [dependencies] -bdk_chain = { path = "../../crates/chain", version = "0.3", features = ["serde"] } +bdk_chain = { path = "../../crates/chain", version = "0.3.1", features = ["serde"] } bdk_electrum = { path = "../../crates/electrum" } keychain_tracker_example_cli = { path = "../keychain_tracker_example_cli"} diff --git a/example-crates/keychain_tracker_esplora/Cargo.toml b/example-crates/keychain_tracker_esplora/Cargo.toml index 57e9d9c0..20a70318 100644 --- a/example-crates/keychain_tracker_esplora/Cargo.toml +++ b/example-crates/keychain_tracker_esplora/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bdk_chain = { path = "../../crates/chain", version = "0.3", features = ["serde", "miniscript"] } +bdk_chain = { path = "../../crates/chain", version = "0.3.1", features = ["serde", "miniscript"] } bdk_esplora = { path = "../../crates/esplora" } keychain_tracker_example_cli = { path = "../keychain_tracker_example_cli" } diff --git a/example-crates/keychain_tracker_example_cli/Cargo.toml b/example-crates/keychain_tracker_example_cli/Cargo.toml index e2565e48..e805fd8f 100644 --- a/example-crates/keychain_tracker_example_cli/Cargo.toml +++ b/example-crates/keychain_tracker_example_cli/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bdk_chain = { path = "../../crates/chain", version = "0.3", features = ["serde", "miniscript"]} +bdk_chain = { path = "../../crates/chain", version = "0.3.1", features = ["serde", "miniscript"]} bdk_file_store = { path = "../../crates/file_store" } bdk_tmp_plan = { path = "../../nursery/tmp_plan" } bdk_coin_select = { path = "../../nursery/coin_select" } diff --git a/nursery/coin_select/Cargo.toml b/nursery/coin_select/Cargo.toml index b1350752..3c338d0e 100644 --- a/nursery/coin_select/Cargo.toml +++ b/nursery/coin_select/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.1" authors = [ "LLFourn " ] [dependencies] -bdk_chain = { version = "0.3", path = "../../crates/chain" } +bdk_chain = { path = "../../crates/chain", version = "0.3.1" } [features] default = ["std"] diff --git a/nursery/tmp_plan/Cargo.toml b/nursery/tmp_plan/Cargo.toml index 67eb57ef..39a603c2 100644 --- a/nursery/tmp_plan/Cargo.toml +++ b/nursery/tmp_plan/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bdk_chain = { version = "0.3", features = ["miniscript"], path = "../../crates/chain" } +bdk_chain = { path = "../../crates/chain", version = "0.3.1", features = ["miniscript"] } [features] default = ["std"] diff --git a/nursery/tmp_plan/bdk_tmp_plan/Cargo.toml b/nursery/tmp_plan/bdk_tmp_plan/Cargo.toml index ecbfaad6..c2d615df 100644 --- a/nursery/tmp_plan/bdk_tmp_plan/Cargo.toml +++ b/nursery/tmp_plan/bdk_tmp_plan/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bdk_chain = { version = "0.3", features = ["miniscript"] } +bdk_chain = { path = "../../../crates/chain", version = "0.3.1", features = ["miniscript"] } [features] default = ["std"]