What is Nostr?
Yuki Kishimoto
npub1drv…seet
2024-11-05 16:34:56

Yuki Kishimoto on Nostr: ## rust-nostr v0.36 is out! 🦀 ### Summary Many, many improvements to `Relay` and ...

## rust-nostr v0.36 is out! 🦀

### Summary

Many, many improvements to `Relay` and `RelayPool` performance (reduced atomic operations and switched to async concurrency), add `NostrSigner` trait, better methods and struct names (`fetch_events` instead of `get_events_of`, `sync` instead of `reconcile`, `NostrConnect` instead of `Nip46Signer` and so on), add `LocalRelay` and allow to easily serve it as hidden onion service with the embedded tor client, allow to keep track of negentropy sync progress, almost halved the weight of JavaScript SDK bindings (from ~6.3MB to ~3.6MB), new experimental Flutter package, some fixes and many more!

Note for Python, Kotlin, Swift and JavaScript devs: unfortunately I can't mark things as deprecated in bindings, so this release have many breaking changes, sorry :(

Note for devs who are using `nostr-protocol` (Python), `org.rust-nostr:nostr` (Kotlin), `nostr-swift` (Swift) or `@rust-nostr/nostr` (JavaScript) libraries: these packages are now deprecated. Only the `nostr-sdk` library will be released, which include everything that was in those libraries.

Full changelog: https://rust-nostr.org/changelog

### Contributors

Thanks to all contributors!

* Mynima (npub1zwn…fhrf)
* VntonIO (npub1w80…zqjv)
* w3irdrobot (npub17q5…6f2y)

### Links

https://rust-nostr.org
https://rust-nostr.org/donate

#rustnostr #nostr #rustlang #programming #rust #python #javascript #kotlin #swift #flutter
Author Public Key
npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet