nostr-database 0.45.1

Events database trait for nostr apps.
Documentation
# Nostr (Events) Database

Events database trait for nostr apps.

## Nostr Database Trait

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

## Default backends

- Memory (RAM, both native and web), available at [`nostr-memory`]https://crates.io/crates/nostr-memory
- LMDB (native), available at [`nostr-lmdb`]https://crates.io/crates/nostr-lmdb
- SQLite (both native and web), available at [`nostr-sqlite`]https://crates.io/crates/nostr-sqlite
- [nostrdb]https://github.com/damus-io/nostrdb (native), available at [`nostr-ndb`]https://crates.io/crates/nostr-ndb

## 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](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

Nostr Dev Kit 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 libs/software/services, then please [donate](https://nostrdevkit.org/donate).

## License

This project is distributed under the MIT software license - see the [LICENSE](../../LICENSE) file for details