5 releases (breaking)

0.30.0 Apr 12, 2024
0.29.0 Mar 15, 2024
0.28.1 Feb 17, 2024
0.27.0 Jan 18, 2024
0.0.0 Nov 9, 2023

#823 in Database interfaces

Download history 107/week @ 2024-01-07 146/week @ 2024-01-14 368/week @ 2024-01-21 178/week @ 2024-01-28 381/week @ 2024-02-04 594/week @ 2024-02-11 634/week @ 2024-02-18 342/week @ 2024-02-25 174/week @ 2024-03-03 253/week @ 2024-03-10 428/week @ 2024-03-17 486/week @ 2024-03-24 569/week @ 2024-03-31 836/week @ 2024-04-07 592/week @ 2024-04-14 651/week @ 2024-04-21

2,691 downloads per month
Used in 19 crates (7 directly)

MIT license

770KB
19K SLoC

Nostr Database

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

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

Dependencies

~19MB
~335K SLoC