Registry / networking / nostr
library0.44.3rscratesunverified

Rust implementation of the Nostr protocol for decentralized social networking.

# Cargo.toml [dependencies] nostr = "0.44.3"
INSTALL
IMPORT
SIG · NOSTR
N
nostr
networkingrustv0.44.3
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.

Event
use nostr::Event;

Create and sign a text note event using generated keys.

use nostr::{Event, Keys}; let keys = Keys::generate(); let event = Event::new_text_note("Hello, Nostr!", &keys); println!("Event ID: {}", event.id);
Debug
Known issues
gotchaRequires network connectivity to relay servers for publishing events.
fix
Ensure you have a relay URL configured and the 'relay' feature enabled.
affects: >=0.44.0
Upgrade
Version history
0.44.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
nostr — cargo add nostr · libregistry