Skip to content

Commit d1c3f13

Browse files
committed
chore: flatten crates directory, rename example-crates to examples
1 parent 2a79bab commit d1c3f13

42 files changed

Lines changed: 16 additions & 16 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cont_integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Rust Cache
7373
uses: Swatinem/rust-cache@v2.7.7
7474
- name: Check bdk wallet
75-
working-directory: ./crates/wallet
75+
working-directory: ./wallet
7676
# TODO "--target thumbv6m-none-eabi" should work but currently does not
7777
run: cargo check --no-default-features --features miniscript/no-std,bdk_chain/hashbrown
7878

@@ -102,7 +102,7 @@ jobs:
102102
- name: Rust Cache
103103
uses: Swatinem/rust-cache@v2.7.7
104104
- name: Check bdk wallet
105-
working-directory: ./crates/wallet
105+
working-directory: ./wallet
106106
run: cargo check --target wasm32-unknown-unknown --no-default-features --features miniscript/no-std,bdk_chain/hashbrown
107107

108108
fmt:

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[workspace]
22
resolver = "2"
33
members = [
4-
"crates/wallet",
5-
"example-crates/example_wallet_electrum",
6-
"example-crates/example_wallet_esplora_blocking",
7-
"example-crates/example_wallet_esplora_async",
8-
"example-crates/example_wallet_rpc",
4+
"wallet",
5+
"examples/example_wallet_electrum",
6+
"examples/example_wallet_esplora_blocking",
7+
"examples/example_wallet_esplora_async",
8+
"examples/example_wallet_rpc",
99
]
1010

1111
[workspace.package]

README.md

Lines changed: 5 additions & 5 deletions

example-crates/example_wallet_electrum/Cargo.toml renamed to examples/example_wallet_electrum/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ version = "0.2.0"
44
edition = "2021"
55

66
[dependencies]
7-
bdk_wallet = { path = "../../crates/wallet", features = ["file_store"] }
7+
bdk_wallet = { path = "../../wallet", features = ["file_store"] }
88
bdk_electrum = { version = "0.21" }
99
anyhow = "1"
File renamed without changes.

example-crates/example_wallet_esplora_async/Cargo.toml renamed to examples/example_wallet_esplora_async/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
bdk_wallet = { path = "../../crates/wallet", features = ["rusqlite"] }
9+
bdk_wallet = { path = "../../wallet", features = ["rusqlite"] }
1010
bdk_esplora = { version = "0.20", features = ["async-https", "tokio"] }
1111
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
1212
anyhow = "1"
File renamed without changes.

example-crates/example_wallet_esplora_blocking/Cargo.toml renamed to examples/example_wallet_esplora_blocking/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ publish = false
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
bdk_wallet = { path = "../../crates/wallet", features = ["file_store"] }
10+
bdk_wallet = { path = "../../wallet", features = ["file_store"] }
1111
bdk_esplora = { version = "0.20", features = ["blocking"] }
1212
anyhow = "1"

example-crates/example_wallet_esplora_blocking/src/main.rs renamed to examples/example_wallet_esplora_blocking/src/main.rs

File renamed without changes.

example-crates/example_wallet_rpc/Cargo.toml renamed to examples/example_wallet_rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
bdk_wallet = { path = "../../crates/wallet", features = ["file_store"] }
9+
bdk_wallet = { path = "../../wallet", features = ["file_store"] }
1010
bdk_bitcoind_rpc = { version = "0.18" }
1111

1212
anyhow = "1"

0 commit comments

Comments
 (0)