nostr-0.10.0 has been yanked.
Nostr
Description
Rust implementation of Nostr protocol.
Getting started
[]
= "0.10"
= { = "0.18", = ["rustls-tls-webpki-roots"]}
use ;
use ClientMessage;
use Url;
use ;
More examples can be found in the examples directory.
Crate Feature Flags
The following crate feature flags are available:
| Feature | Default | Description |
|---|---|---|
all-nips |
Yes | Enable all NIPs |
nip04 |
Yes | Enable NIP-04: Encrypted Direct Message |
nip05 |
Yes | Enable NIP-05: Mapping Nostr keys to DNS-based internet identifiers |
nip06 |
Yes | Enable NIP-06: Basic key derivation from mnemonic seed phrase |
nip11 |
Yes | Enable NIP-11: Relay Information Document |
blocking |
No | Needed to use NIP-05 and NIP-11features in not async/await context |
Supported NIPs
State
This library is in an ALPHA state, things that are implemented generally work but the API will change in breaking ways.
License
This project is distributed under the MIT software license - see the LICENSE file for details