Skip to content

Commit 250103f

Browse files
tomproyukibtc
authored andcommitted
sqldb: init
This implements a basic driver for using Postgres, SQLite or MySQL as storage engine for nostr-database. Uses async Diesel as driver and Diesel migrations to set up the schema. Pull-Request: #835 Pull-Request: #855 Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
1 parent 5a2e668 commit 250103f

File tree

32 files changed

+1484
-54
lines changed

32 files changed

+1484
-54
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
* mls-memory-storage: add an in-memory implementation for MLS ([JeffG] at https://github.com/rust-nostr/nostr/pull/839)
4343
* mls-sqlite-storage: a sqlite implementation for MLS ([JeffG] at https://github.com/rust-nostr/nostr/pull/842)
4444
* mls: add new crate for implementing MLS messaging ([JeffG] at https://github.com/rust-nostr/nostr/pull/843)
45+
* sqldb: add `nostr-sqldb` crate ([Thomas Profelt] at https://github.com/rust-nostr/nostr/pull/835)
4546
* sdk: add `Options::pool` ([Yuki Kishimoto])
4647

4748
### Deprecated
@@ -1254,3 +1255,4 @@ added `nostrdb` storage backend, added NIP32 and completed NIP51 support and mor
12541255
[magine]: https://github.com/ma233 (?)
12551256
[daywalker90]: https://github.com/daywalker90 (nostr:npub1kuemsj7xryp0uje36dr53scn9mxxh8ema90hw9snu46633n9n2hqp3drjt)
12561257
[Daniel D’Aquino]: https://github.com/danieldaquino (nostr:npub13v47pg9dxjq96an8jfev9znhm0k7ntwtlh9y335paj9kyjsjpznqzzl3l8)
1258+
[Thomas Profelt]: https://github.com/tompro (nostr:npub1rf0lc5dpyvpl6q3dfq0n0mtqc0maxa0kdehcj9nc5884fzufuzxqv67gj6)

0 commit comments

Comments
 (0)