Skip to content

Commit 004bf8f

Browse files
committed
Bump to v0.22.0
1 parent 7698ea2 commit 004bf8f

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

crates/nostr-sdk-net/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nostr-sdk-net"
3-
version = "0.21.0"
3+
version = "0.22.0"
44
edition = "2021"
55
description = "Nostr SDK Network library."
66
authors = ["Yuki Kishimoto <[email protected]>"]

crates/nostr-sdk/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nostr-sdk"
3-
version = "0.21.0"
3+
version = "0.22.0"
44
edition = "2021"
55
description = "High level Nostr client library."
66
authors = ["Yuki Kishimoto <[email protected]>"]
@@ -27,8 +27,8 @@ nip47 = ["nostr/nip47"]
2727

2828
[dependencies]
2929
log = "0.4"
30-
nostr = { version = "0.21", path = "../nostr", default-features = false }
31-
nostr-sdk-net = { version = "0.21", path = "../nostr-sdk-net" }
30+
nostr = { version = "0.22", path = "../nostr", default-features = false }
31+
nostr-sdk-net = { version = "0.22", path = "../nostr-sdk-net" }
3232
once_cell = { version = "1.17", optional = true }
3333
thiserror = "1.0"
3434

crates/nostr-sdk/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ other lower-level crates. If you're attempting something more custom, you might
2424

2525
```toml
2626
[dependencies]
27-
nostr-sdk = "0.21"
27+
nostr-sdk = "0.22"
2828
tokio = { version = "1", features = ["full"] }
2929
```
3030

31+
NOTE: if you are using `bitcoin` v0.29, use version `nostr-sdk = "0.22.0-bitcoin-v0.29"` insead.
32+
3133
```rust,no_run
3234
use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4};
3335

crates/nostr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nostr"
3-
version = "0.21.0"
3+
version = "0.22.0"
44
edition = "2021"
55
description = "Rust implementation of the Nostr protocol."
66
authors = ["Yuki Kishimoto <[email protected]>"]

crates/nostr/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ If you're writing a typical Nostr client or bot, you may be interested in [nostr
1818

1919
```toml
2020
[dependencies]
21-
nostr = "0.21"
21+
nostr = "0.22"
2222
tungstenite = { version = "0.19", features = ["rustls-tls-webpki-roots"]}
2323
```
2424

25+
NOTE: if you are using `bitcoin` v0.29, use version `nostr = "0.22.0-bitcoin-v0.29"` insead.
26+
2527
```rust,no_run
2628
use nostr::prelude::*;
2729
use tungstenite::{Message as WsMessage};
@@ -99,8 +101,8 @@ The following crate feature flags are available:
99101
| `nip11` | Yes | Enable NIP-11: Relay Information Document |
100102
| `nip19` | Yes | Enable NIP-19: bech32-encoded entities |
101103
| `nip21` | Yes | Enable NIP-21: `nostr` URI scheme |
102-
| `nip47` | Yes | Enable NIP-47: Nostr Wallet Connect
103104
| `nip46` | Yes | Enable NIP-46: Nostr Connect |
105+
| `nip47` | Yes | Enable NIP-47: Nostr Wallet Connect |
104106

105107
## Supported NIPs
106108

0 commit comments

Comments
 (0)