2 releases
Uses old Rust 2015
0.1.1 | Jan 14, 2017 |
---|---|
0.1.0 | Jan 14, 2017 |
#290 in Simulation
40KB
723 lines
tokio-kinetic
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!
Running 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.
Usage
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.
Licensing
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.
Dependencies
~13–23MB
~380K SLoC