Uses old Rust 2015
|0.1.1||May 5, 2015|
|0.1.0||Apr 21, 2015|
#2 in #kinetic
If you don't have Rust yet the quicket way to get the current nightly build is to run:
curl -s https://static.rust-lang.org/rustup.sh | sudo sh -s -- --channel=nightly
If you want other installation options, visit the official install guide.
Adding the Kinetic-rust dependency
To get the dependency to be linked directly to the GitHub repo then add this instead:
[dependencies.kinetic-rust] git = "https://github.com/icorderi/kinetic-rust.git"
Note: For more information on handling dependencies check the official cargo site.
To import Kinetic-rust from your code add this statement:
extern crate kinetic; // depend on the kinetic-rust library
[Optional] Installing Kinetic-rust from source
git clone https://github.com/icorderi/kinetic-rust.git cd kinetic-rust cargo build --release
--releaseflag will compile the code with the optimizations turned on.
Additionally you can run the tests or compile the documentation locally:
cargo test cargo doc
The local HTML documentation will be available at
Note: Some tests will require you to have a Kinetic device available. You can use the simulator if you don't have real devices.
If you need help don't forget to checkout the online documentation for the library.
This project is licensed under The MIT License (MIT)