From fbec953149461bc3e7cab13a082477a48d04805e Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Wed, 6 Sep 2023 14:13:15 -0400 Subject: [PATCH] docs: update docs for new pinned dependency --- README.md | 10 ++++++---- bdk-android/README.md | 8 ++++---- bdk-jvm/README.md | 8 ++++---- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ff73779..8a461af 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@ To build with the MSRV you will need to pin dependencies as follows: cargo update -p hashlink --precise "0.8.1" # tokio 1.30.0 has MSRV 1.63.0 cargo update -p tokio --precise "1.29.1" +# flate2 1.0.27 and up do not work with Rust 1.61.0, but 1.0.26 does +cargo update -p flate2 --precise "1.0.26" ``` ## Contributing @@ -62,8 +64,8 @@ See the [UniFFI User Guide](https://mozilla.github.io/uniffi-rs/) repositories { mavenCentral() } -dependencies { - implementation("org.bitcoindevkit:bdk-android:") +dependencies { + implementation("org.bitcoindevkit:bdk-android:") } ``` @@ -73,8 +75,8 @@ dependencies { repositories { mavenCentral() } -dependencies { - implementation("org.bitcoindevkit:bdk-jvm:") +dependencies { + implementation("org.bitcoindevkit:bdk-jvm:") } ``` diff --git a/bdk-android/README.md b/bdk-android/README.md index 56825da..d8c304a 100644 --- a/bdk-android/README.md +++ b/bdk-android/README.md @@ -8,8 +8,8 @@ repositories { mavenCentral() } -dependencies { - implementation("org.bitcoindevkit:bdk-android:") +dependencies { + implementation("org.bitcoindevkit:bdk-android:") } ``` @@ -38,8 +38,8 @@ repositories { maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") } -dependencies { - implementation("org.bitcoindevkit:bdk-android:") +dependencies { + implementation("org.bitcoindevkit:bdk-android:") } ``` diff --git a/bdk-jvm/README.md b/bdk-jvm/README.md index 850e62d..8a28247 100644 --- a/bdk-jvm/README.md +++ b/bdk-jvm/README.md @@ -25,8 +25,8 @@ val internalDescriptor = Descriptor("wpkh([c258d2e4/84h/1h/0h]tpubDDYkZojQFQjht8 val databaseConfig = DatabaseConfig.Memory val blockchainConfig = BlockchainConfig.Electrum( - ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true) - ) + ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true) +) val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig) val newAddress = wallet.getAddress(AddressIndex.LastUnused) ``` @@ -38,8 +38,8 @@ repositories { maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") } -dependencies { - implementation("org.bitcoindevkit:bdk-jvm:") +dependencies { + implementation("org.bitcoindevkit:bdk-jvm:") } ```