14 breaking releases

new 0.40.0 Mar 18, 2025
0.38.0 Dec 31, 2024
0.37.0 Nov 27, 2024
0.33.1 Jul 26, 2024
0.0.0 Nov 9, 2023

#928 in Magic Beans

Download history 1454/week @ 2024-12-03 2059/week @ 2024-12-10 1272/week @ 2024-12-17 988/week @ 2024-12-24 1828/week @ 2024-12-31 1564/week @ 2025-01-07 2038/week @ 2025-01-14 3224/week @ 2025-01-21 3979/week @ 2025-01-28 4891/week @ 2025-02-04 2859/week @ 2025-02-11 1181/week @ 2025-02-18 1017/week @ 2025-02-25 945/week @ 2025-03-04 1271/week @ 2025-03-11 1289/week @ 2025-03-18

4,754 downloads per month
Used in 39 crates (10 directly)

MIT license

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

~16–27MB
~377K SLoC