mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 22:57:59 -05:00
evgrd: move bin/test.rs to example/recv.rs and add example/send.rs
This commit is contained in:
@@ -13,9 +13,13 @@ name = "evgrd"
|
|||||||
path = "bin/evgrd.rs"
|
path = "bin/evgrd.rs"
|
||||||
required-features = ["build-daemon"]
|
required-features = ["build-daemon"]
|
||||||
|
|
||||||
[[bin]]
|
[[example]]
|
||||||
name = "test"
|
name = "recv"
|
||||||
path = "bin/test.rs"
|
path = "example/recv.rs"
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "send"
|
||||||
|
path = "example/send.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
darkfi = {path = "../../", features = ["event-graph"]}
|
darkfi = {path = "../../", features = ["event-graph"]}
|
||||||
|
|||||||
@@ -18,7 +18,10 @@
|
|||||||
|
|
||||||
use darkfi::{
|
use darkfi::{
|
||||||
async_daemonize, cli_desc,
|
async_daemonize, cli_desc,
|
||||||
event_graph::{proto::{ProtocolEventGraph, EventPut}, Event, EventGraph, EventGraphPtr},
|
event_graph::{
|
||||||
|
proto::{EventPut, ProtocolEventGraph},
|
||||||
|
Event, EventGraph, EventGraphPtr,
|
||||||
|
},
|
||||||
net::{
|
net::{
|
||||||
session::SESSION_DEFAULT,
|
session::SESSION_DEFAULT,
|
||||||
settings::SettingsOpt as NetSettingsOpt,
|
settings::SettingsOpt as NetSettingsOpt,
|
||||||
|
|||||||
Reference in New Issue
Block a user