Template repository for Rust projects with sxutil
You should run Synerex Nodeserv and Synerex Server before running commands below.
It will subscribe demand message from DemandNotifier and propse supply.
cargo run -- -m subscribe -t Demand
It will subscribe supply message from SupplyNotifier and propose demand.
cargo run -- -m subscribe -t Supply
It will notify demand message and subscribe supply from DemandSubscriber. Note: Please start DemandSubscriber before starting this.
cargo run -- -m notify -t Demand
It will notify supply message and subscribe demand from SupplySubscriber. Note: Please start SupplySubscriber before starting this.
cargo run -- -m notify -t Supply
cargo build
ls target/debug
cargo rustc --release -- -C link-args=-Wl,-x,-S
ls target/release