nostr-database

Crates.ionostr-database
lib.rsnostr-database
version0.43.0
created_at2023-11-09 12:40:33.471358+00
updated_at2025-07-28 07:50:32.188934+00
descriptionEvents database abstraction and in-memory implementation
homepagehttps://github.com/rust-nostr/nostr
repositoryhttps://github.com/rust-nostr/nostr.git
max_upload_size
id1030144
size145,360
Yuki Kishimoto (yukibtc)

documentation

README

Nostr (Events) Database

Events database abstraction and in-memory implementation for nostr apps.

Nostr Database Trait

This library contains the NostrDatabase and NostrDatabaseExt traits. You can use the default backends or implement your one (like PostgreSQL, ...).

Default backends

Crate Feature Flags

The following crate feature flags are available:

Feature Default Description
flatbuf No Enable flatbuffers de/serialization for nostr events

Changelog

All notable changes to this library are documented in the CHANGELOG.md.

State

This library is in an ALPHA state, things that are implemented generally work but the API will change in breaking ways.

Donations

rust-nostr is free and open-source. This means we do not earn any revenue by selling it. Instead, we rely on your financial support. If you actively use any of the rust-nostr libs/software/services, then please donate.

License

This project is distributed under the MIT software license - see the LICENSE file for details

Commit count: 4179

cargo fmt