Registry / networking / nostr-sdk

nostr-sdk

JSON →
library0.44.1rscratesunverified

High level Nostr client library for building Nostr applications.

# Cargo.toml [dependencies] nostr-sdk = "0.44.1"
INSTALL
IMPORT
SIG · NOSTR-SDK
N
nostr-sdk
networkingrustv0.44.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use nostr_sdk::Client;

Creates a new Nostr client

use nostr_sdk::Client; #[tokio::main] async fn main() { let client = Client::new(); println!("Nostr client created"); }
Debug
Known issues
gotchaRequires async runtime (tokio) for most operations
fix
Add tokio as dependency and use #[tokio::main] or similar runtime
affects: >=0.44.0
Upgrade
Version history
0.44.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
nostr-sdk — cargo add nostr-sdk · libregistry