#coap #tokio #top #built #protocols #applications #tokio-core

tokio-coap

Low-level protocol implementaion of the Constrained Application Prorocol (CoAP) built on top of tokio-core

3 releases (breaking)

Uses old Rust 2015

0.2.0 Mar 27, 2018
0.1.1 Nov 19, 2017
0.0.1 Jan 14, 2017

#47 in #coap

MIT/Apache

28KB
747 lines

Tokio-CoAP

Build Status

tokio-coap is a CoAP protocol implementation built on top of the tokio platform in the Rust programming language.

tokio-coap, by the of the nature of being written on top of tokio, it built on top of futures making it ideal for high performance and/or low resource use cases.

Status

tokio-coap is incomplete and you likely shouldn't use it yet

tokio-coap is still taking shape, feedback on the interface is extremely welcome. Please open an issue on github if you have interest is using this library and want to provide and feedback about issues you have with the API, features you'd like to see prioritized, or even just general use cases you'd like to make sure are supported in the future.

Currently it is possible to directly deal with CoAP packets, but there is not yet any notion of a client or server (or more like an "endpoint" that is both) or any handling of sending or reciving packet on the network.

There are basic benchmarks to judge how changes affect performance, but no optomizing has been done explicitly yet. This will come in the future, but will happen after a 1.0.0 release.

Getting Started

There is very little in the way of useful documentation at the moment, for now check out the various examples for how to use the library.

Dependencies

~7MB
~130K SLoC