mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2025-03-22 03:22:27 -04:00
This is inspired by the work of v0l (https://github.com/v0l/nostr-rs-relay/). A new trait abstracts the storage layer with an async API. Rusqlite is still used with worker threads, but this allows for Postgresql or other backends to be used. There may be bugs, this has not been rigorously tested.
18 lines
300 B
Rust
18 lines
300 B
Rust
pub mod cli;
|
|
pub mod close;
|
|
pub mod config;
|
|
pub mod conn;
|
|
pub mod db;
|
|
pub mod delegation;
|
|
pub mod error;
|
|
pub mod event;
|
|
pub mod hexrange;
|
|
pub mod info;
|
|
pub mod nip05;
|
|
pub mod notice;
|
|
pub mod repo;
|
|
pub mod subscription;
|
|
pub mod utils;
|
|
// Public API for creating relays programatically
|
|
pub mod server;
|