initial nostr code

This commit is contained in:
William Casarin
2022-12-11 15:46:18 -08:00
parent b6f5d8dc03
commit e6571d8847
16 changed files with 1434 additions and 41 deletions

10
enostr/src/lib.rs Normal file
View File

@@ -0,0 +1,10 @@
mod error;
mod event;
mod relay;
pub use error::Error;
pub use event::Event;
pub use relay::pool::RelayPool;
pub use relay::Relay;
pub type Result<T> = std::result::Result<T, error::Error>;