Rust language package for CodeWars - Russian AI Cup 2017
For linux, windows and macos:
cargo build
or for linux and macos:
./compile-rust.sh
or for windows:
compile-rust.bat
Write your own strategy in src/my_strategy.rs.
To import modules into my_strategy.rs use path attribute:
#[path = "some_module.rs"]
mod some_module;
pub struct MyStrategy {}
Run binary with exactly 3 arguments (host, port, token) or without arguments to use defaults:
./MyStrategy 127.0.0.1 31001 0000000000000000
./MyStrategy