10 breaking releases

new 0.36.0 Nov 5, 2024
0.34.0 Aug 15, 2024
0.33.1 Jul 26, 2024
0.29.0 Mar 15, 2024
0.0.0 Nov 9, 2023

#982 in Database interfaces

Download history 838/week @ 2024-07-16 687/week @ 2024-07-23 528/week @ 2024-07-30 519/week @ 2024-08-06 742/week @ 2024-08-13 555/week @ 2024-08-20 1036/week @ 2024-08-27 2167/week @ 2024-09-03 1313/week @ 2024-09-10 1831/week @ 2024-09-17 2438/week @ 2024-09-24 2141/week @ 2024-10-01 1563/week @ 2024-10-08 880/week @ 2024-10-15 1858/week @ 2024-10-22 2114/week @ 2024-10-29

6,769 downloads per month
Used in 35 crates (10 directly)

MIT license

1MB
20K 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

~17–26MB
~364K SLoC