Skip to content
/ rust-template Public template

Tempalte repository for Rust projects with sxutil

License

Notifications You must be signed in to change notification settings

exdata-inc/rust-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-template

Template repository for Rust projects with sxutil

Run

You should run Synerex Nodeserv and Synerex Server before running commands below.

DemandSubscriber (Service)

It will subscribe demand message from DemandNotifier and propse supply.

cargo run -- -m subscribe -t Demand

SupplySubscriber (Client)

It will subscribe supply message from SupplyNotifier and propose demand.

cargo run -- -m subscribe -t Supply

DemandNotifier (Client)

It will notify demand message and subscribe supply from DemandSubscriber. Note: Please start DemandSubscriber before starting this.

cargo run -- -m notify -t Demand

SupplyNotifier (Service)

It will notify supply message and subscribe demand from SupplySubscriber. Note: Please start SupplySubscriber before starting this.

cargo run -- -m notify -t Supply

Build

for Development

cargo build
ls target/debug

for Release

cargo rustc --release -- -C link-args=-Wl,-x,-S
ls target/release

About

Tempalte repository for Rust projects with sxutil

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages