The marketprice middleware project uses rust
.
Create a .env
file and specify the HOST
and PORT
variables.
HOST=test.mosquitto.org
PORT=1883
Then cargo run
the project.
Requires cargo
to compile the binary which is avaliable along with rust
. Make sure to use the --release
flag for faster builds.
Optionally use the upx
utility to make the executable even smaller.
git clone https://github.com/vaidyuti/marketprice-middleware.git
cd marketprice-middleware
cargo build --release
upx target/release/marketprice.exe --lzma -9