Crates.io | kinetic-rust |
lib.rs | kinetic-rust |
version | 0.0.16 |
source | src |
created_at | 2014-11-23 09:01:21.23811 |
updated_at | 2015-12-11 23:53:50.453159 |
description | A Kinetic protocol library written in Rust |
homepage | https://icorderi.github.io/icorderi/kinetic-rust |
repository | https://github.com/icorderi/kinetic-rust/ |
max_upload_size | |
id | 370 |
size | 722,632 |
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.
If you are using Cargo and want to use the latest stable Kinetic-rust crate available at crates.io add this to your Cargo.toml
:
[dependencies.kinetic-rust]
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
git clone https://github.com/icorderi/kinetic-rust.git
cd kinetic-rust
cargo build --release
Note: The
--release
flag 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 ./target/doc/kinetic/index.html
.
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.
Get involved with the issues or submit a PR.
This project is licensed under The MIT License (MIT)