Skip to content

Commit

Permalink
Merge pull request #150 from zoedberg/refactor_electrum
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky authored Mar 19, 2024
2 parents ac1036d + cfac2e9 commit 39c43e1
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 103 deletions.
127 changes: 51 additions & 76 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 3 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@ license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.6.0"
baid58 = "0.4.4"
bitcoin = "0.31.1"
commit_verify = "0.11.0-beta.4"
strict_encoding = "2.7.0-beta.1"
strict_types = "2.7.0-beta.2"
bp-core = "0.11.0-beta.4"
bp-electrum = "0.11.0-beta.5"
bp-seals = "0.11.0-beta.4"
bp-std = "0.11.0-beta.4"
bp-wallet = "0.11.0-beta.4"
bp-util = "0.11.0-beta.4"
bp-esplora = "0.11.0-beta.4"
descriptors = "0.11.0-beta.4"
electrum-client = "0.19.0"
psbt = { version = "0.11.0-beta.4", features = ["client-side-validation"] }
rgb-std = { version = "0.11.0-beta.4", features = ["fs"] }
rgb-psbt = { version = "0.11.0-beta.4", path = "psbt" }
Expand Down Expand Up @@ -68,15 +67,14 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
amplify = { workspace = true }
baid58 = { workspace = true }
bitcoin = { workspace = true, optional = true }
bp-electrum = { workspace = true, optional = true }
commit_verify = { workspace = true }
strict_types = { workspace = true }
bp-core = { workspace = true }
bp-std = { workspace = true }
bp-wallet = { workspace = true, features = ["fs"] }
bp-esplora = { workspace = true, optional = true }
descriptors = { workspace = true }
electrum-client = { workspace = true, optional = true }
rgb-std = { workspace = true }
rgb-psbt = { workspace = true }
rgb-persist-fs = { version = "0.11.0", path = "fs" }
Expand All @@ -91,18 +89,13 @@ log = { workspace = true, optional = true }
default = ["esplora_blocking"]
all = ["esplora_blocking", "electrum", "serde", "log"]
esplora_blocking = ["bp-esplora", "bp-wallet/esplora"]
electrum = ["electrum-client", "bitcoin"]
electrum = ["bp-electrum"]
serde = ["serde_crate", "serde_with", "serde_yaml", "bp-std/serde", "bp-wallet/serde", "descriptors/serde", "rgb-psbt/serde"]

[package.metadata.docs.rs]
features = ["all"]

[patch.crates-io]
commit_verify = { git = "https://github.com/LNP-BP/client_side_validation", branch = "master" }
bp-consensus = { git = "https://github.com/BP-WG/bp-core", branch = "master" }
bp-dbc = { git = "https://github.com/BP-WG/bp-core", branch = "master" }
bp-seals = { git = "https://github.com/BP-WG/bp-core", branch = "master" }
bp-core = { git = "https://github.com/BP-WG/bp-core", branch = "master" }
bp-util = { git = "https://github.com/BP-WG/bp-wallet", branch = "master" }
bp-wallet = { git = "https://github.com/BP-WG/bp-wallet", branch = "master" }
rgb-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "master" }
Expand Down
Loading

0 comments on commit 39c43e1

Please sign in to comment.