#coap #libcoap


An idiomatic wrapper around the libcoap CoAP library for Rust

3 unstable releases

Uses new Rust 2021

0.2.1 Nov 20, 2022
0.2.0 Jun 28, 2022
0.1.0 Feb 3, 2020

#1388 in Network programming

37 downloads per month

BSD-2-Clause and maybe LGPL-2.1

40K SLoC

C 32K SLoC // 0.1% comments Rust 4.5K SLoC // 0.1% comments Visual Studio Project 2.5K SLoC Shell 676 SLoC // 0.5% comments Automake 614 SLoC // 0.2% comments Visual Studio Solution 143 SLoC Batch 11 SLoC


Idiomatic wrapper around the libcoap CoAP libary for Rust.


Matching the license of the libcoap C library, the libcoap crate is licensed under the 2-Clause/Simplified BSD License (LICENSE-BSD-2-Clause or https://opensource.org/licenses/BSD-2-Clause).

Note on Third-Party-Code

Note that for the libcoap-sys binding and generated binaries, the license terms of the libcoap C library as well as linked dependencies (e.g. TLS libraries) may apply. See https://github.com/obgm/libcoap/blob/develop/LICENSE as well as the licenses of dependency crates for more information and terms.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.


This project is currently maintained by the following developers:

Name Email Address GitHub Username
Hugo Hakim Damer hdamer@uni-bremen.de @pulsastrix


~139K SLoC