Begin modules for nostr protocol

This commit is contained in:
Greg Heartsfield 2021-11-21 17:22:42 -06:00
parent cf6171aadc
commit b2ca2f6743
4 changed files with 5 additions and 0 deletions

1
Cargo.lock generated
View File

@ -307,6 +307,7 @@ dependencies = [
"env_logger", "env_logger",
"futures-util", "futures-util",
"log", "log",
"thiserror",
"tokio", "tokio",
"tokio-tungstenite", "tokio-tungstenite",
"tungstenite", "tungstenite",

View File

@ -12,3 +12,4 @@ tokio = { version = "1.14.0", features = ["full"] }
futures-util = "0.3.17" futures-util = "0.3.17"
tokio-tungstenite = "0.16.0" tokio-tungstenite = "0.16.0"
tungstenite = "0.16.0" tungstenite = "0.16.0"
thiserror = "1.0.30"

1
src/event.rs Normal file
View File

@ -0,0 +1 @@
pub struct Event {}

2
src/lib.rs Normal file
View File

@ -0,0 +1,2 @@
pub mod error;
pub mod event;