diff --git a/crates/nostr-sdk/Cargo.toml b/crates/nostr-sdk/Cargo.toml index 300076e89..a5283c27c 100644 --- a/crates/nostr-sdk/Cargo.toml +++ b/crates/nostr-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr-sdk" -version = "0.22.0" +version = "0.22.0-bitcoin-v0.29" edition = "2021" description = "High level Nostr client library." authors = ["Yuki Kishimoto "] @@ -27,7 +27,7 @@ nip47 = ["nostr/nip47"] [dependencies] log = "0.4" -nostr = { version = "0.22", path = "../nostr", default-features = false } +nostr = { version = "0.22.0-bitcoin-v0.29", path = "../nostr", default-features = false } nostr-sdk-net = { version = "0.22", path = "../nostr-sdk-net" } once_cell = { version = "1.17", optional = true } thiserror = "1.0" diff --git a/crates/nostr-sdk/README.md b/crates/nostr-sdk/README.md index 7d5cda95e..07dc0f014 100644 --- a/crates/nostr-sdk/README.md +++ b/crates/nostr-sdk/README.md @@ -24,12 +24,10 @@ other lower-level crates. If you're attempting something more custom, you might ```toml [dependencies] -nostr-sdk = "0.22" +nostr-sdk = "=0.22-bitcoin-v0.29" tokio = { version = "1", features = ["full"] } ``` -NOTE: if you are using `bitcoin` v0.29, use version `nostr-sdk = "=0.22.0-bitcoin-v0.29"` insead. - ```rust,no_run use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4}; diff --git a/crates/nostr/Cargo.toml b/crates/nostr/Cargo.toml index 68d316cf7..2b959f39f 100644 --- a/crates/nostr/Cargo.toml +++ b/crates/nostr/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nostr" -version = "0.22.0" +version = "0.22.0-bitcoin-v0.29" edition = "2021" description = "Rust implementation of the Nostr protocol." authors = ["Yuki Kishimoto "] diff --git a/crates/nostr/README.md b/crates/nostr/README.md index 2147644a9..18da6a414 100644 --- a/crates/nostr/README.md +++ b/crates/nostr/README.md @@ -18,12 +18,10 @@ If you're writing a typical Nostr client or bot, you may be interested in [nostr ```toml [dependencies] -nostr = "0.22" +nostr = "=0.22.0-bitcoin-v0.29" tungstenite = { version = "0.19", features = ["rustls-tls-webpki-roots"]} ``` -NOTE: if you are using `bitcoin` v0.29, use version `nostr = "=0.22.0-bitcoin-v0.29"` insead. - ```rust,no_run use nostr::prelude::*; use tungstenite::{Message as WsMessage};