This commit is contained in:
Petko 2022-11-09 10:27:47 +01:00
parent 361fc8e3cc
commit 631d322b14
7 changed files with 29 additions and 29 deletions

24
Cargo.lock generated
View File

@ -464,6 +464,18 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "graphcast"
version = "0.1.0"
dependencies = [
"chrono",
"once_cell",
"prost",
"serde",
"serde_json",
"waku",
]
[[package]]
name = "hashbrown"
version = "0.12.3"
@ -784,18 +796,6 @@ version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
[[package]]
name = "ping-pong"
version = "0.1.0"
dependencies = [
"chrono",
"once_cell",
"prost",
"serde",
"serde_json",
"waku",
]
[[package]]
name = "polyval"
version = "0.6.0"

View File

@ -4,5 +4,5 @@ members = [
"waku-bindings",
"waku-sys",
"examples/toy-chat",
"examples/ping-pong",
]
"examples/graphcast",
]

24
examples/Cargo.lock generated
View File

@ -464,6 +464,18 @@ version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "graphcast"
version = "0.1.0"
dependencies = [
"chrono",
"once_cell",
"prost",
"serde",
"serde_json",
"waku",
]
[[package]]
name = "hashbrown"
version = "0.12.3"
@ -784,18 +796,6 @@ version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
[[package]]
name = "ping-pong"
version = "0.1.0"
dependencies = [
"chrono",
"once_cell",
"prost",
"serde",
"serde_json",
"waku",
]
[[package]]
name = "polyval"
version = "0.6.0"

View File

@ -2,5 +2,5 @@
members = [
"toy-chat",
"ping-pong"
"graphcast"
]

View File

@ -1,5 +1,5 @@
[package]
name = "ping-pong"
name = "graphcast"
version = "0.1.0"
edition = "2021"

View File

@ -112,7 +112,7 @@ fn setup_node_handle() -> std::result::Result<WakuNodeHandle<Running>, Box<dyn E
}
fn main() -> std::result::Result<(), Box<dyn Error>> {
let nick = std::env::args().nth(1).expect("Nick to be set");
let nick = String::from("nickey");
// setup terminal
enable_raw_mode()?;
let mut stdout = io::stdout();