Why Nostr? What is Njump?
2024-05-28 15:57:23

Dustin Dannenhauer on Nostr: Wow perfect timing, I was about to try this yesterday and found there wasn't an async ...

Wow perfect timing, I was about to try this yesterday and found there wasn't an async client in nostr_sdk
For all devs using the Python, Kotlin or Swift rust-nostr libraries: I've published an alpha version of nostr-sdk with async/future support. Please give it a try and give me a feedback.

All rust-nostr libraries (except for protocol implementation) are async so make sense to convert bindings to async instead of keeping them blocking, but I don't know how common async programming is in those langs.

The alpha versions are:
* Python: 0.13.0a1.dev0
* Kotlin: 0.13.0-alpha.1
* Swift: 0.13.0-alpha.1

Here you can find some async python examples: https://github.com/rust-nostr/nostr/tree/async-ffi/bindings%2Fnostr-sdk-ffi%2Fbindings-python%2Fexamples

https://github.com/rust-nostr/nostr/pull/379



#rustnostr
Author Public Key
npub1mgvwnpsqgrem7jfcwm7pdvdfz2h95mm04r23t8pau2uzxwsdnpgs0gpdjc