Expand description
§ritualistic
nostr types and utilities
this library provides types and utilities for working with the Nostr protocol, including events, filters, relays, and connections.
Re-exports§
pub use event::ArchivedEvent;pub use event::Event;pub use event_template::EventTemplate;pub use filter::Filter;pub use filter::TagQuery;pub use keys::PubKey;pub use keys::SecretKey;pub use metadata::Metadata;pub use pointers::AddressPointer;pub use pointers::EventPointer;pub use pointers::Pointer;pub use pointers::ProfilePointer;pub use profile::Profile;pub use timestamp::Timestamp;
Modules§
- addresses
- bunker_
client - codes
- envelopes
- event
- event_
template - filter
- helpers
- keys
- message_
encryption - metadata
- ncryptsec1
- pointers
- profile
- relay_
information - server
- Nostr relay server implementation using hyper
- timestamp
Structs§
- ArchivedID
- An archived
ID - Archived
Kind - An archived
Kind - Archived
Signature - An archived
Signature - BTree
Event Database - btree-based in-memory event database
- ID
- A 32-byte event ID
- IDResolver
- The resolver for an archived
ID - Kind
- event kind type
- Kind
Resolver - The resolver for an archived
Kind - Network
- Publish
Result - Relay
- ShortID
- Signature
- A 64-byte signature
- Signature
Resolver - The resolver for an archived
Signature - Subscription
Options - Tags
- collection of tags
Enums§
Traits§
Functions§
- normalize_
url - normalize a URL and replace http://, https:// schemes with ws://, wss://
Type Aliases§
- Tag
- a single tag (array of strings)