Crates.io | tokio-kinetic |
lib.rs | tokio-kinetic |
version | 0.1.1 |
source | src |
created_at | 2017-01-14 13:46:02.822228 |
updated_at | 2017-01-14 14:15:14.072149 |
description | Kinetic protocol client library built on tokio-rs. |
homepage | |
repository | https://github.com/peterdelevoryas/tokio-kinetic |
max_upload_size | |
id | 8059 |
size | 138,471 |
A (very early, in-progress) implementation of the
Kinetic Protocol
on top of tokio-rs
. This library is not completed yet!
However, if you're still interested, fire up the
Java simulator
and try experimenting with the example client!
$ git clone https://github.com/peterdelevoryas/tokio-kinetic
$ cd tokio-kinetic
$ cargo build --example client
$ # Kinetic device (Java simulator, hard-drive, etc) is running on 127.0.0.1:8123
$ RUST_LOG=debug ./target/debug/examples/client 127.0.0.1 8123
You should see some debug output from tokio-rs
, as well as the frames being sent and received.
In your Cargo.toml
,
[dependencies]
tokio-kinetic = { git = "https://github.com/peterdelevoryas/tokio-kinetic" }
In your source,
extern crate tokio_kinetic;
If you have trouble, see the cargo guide.
tokio-kinetic
is distributed under the terms of the MIT license.
The Kinetic Protocol is licensed under Mozilla Public License 2.0,
and so I have included the Kinetic Protocol source repository,
which specifies behavior within this library, and is used in a
dependency of this library. It is included
as a submodule for users to have access to.