coap

libcoap wrapper for Nim

Wrapper score 15/100 · tests present · no docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version 0.1.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-30 07:10

Authors

  • PMunch

Installation

nimble install coap
choosenim install coap
git clone https://github.com/PMunch/libcoap

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
coap - - - - - - -

Dependencies

Package Version Optional
nim >= 1.6.6 No

Source

Repository https://github.com/PMunch/libcoap
Homepage https://github.com/PMunch/libcoap
Registry Source nimble_official

README

libCoAP in Nim

This is a libcoap wrapper for Nim. It uses Futhark to automatically wrap libcoap 4.3.0, and then builds a nice Nim interface for it. This means that you don't need to manually manage memory or deal with C library callbacks. Simply send a message and await the reply with normal async primitives. For a usage example see my IKEA Home Smart library which this library was built for.