Skip to content

Commit

Permalink
Bump to 0.22.0-bitcoin-v0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Jun 25, 2023
1 parent 605e65b commit d1e821c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions crates/nostr-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <yukikishimoto@proton.me>"]
Expand All @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions crates/nostr-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion crates/nostr/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <yukikishimoto@proton.me>"]
Expand Down
4 changes: 1 addition & 3 deletions crates/nostr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit d1e821c

Please sign in to comment.