#libmosquitto #bindings #system-installed #mosquitto-rs

sys libmosquitto-sys

Unsafe FFI bindings to libmosquitto

7 releases

0.2.3 Jan 6, 2024
0.2.2 Dec 27, 2023
0.2.0 Jan 3, 2021
0.1.2 Jan 2, 2021

#2 in #libmosquitto

Download history 193/week @ 2023-12-24 273/week @ 2023-12-31 166/week @ 2024-01-07 150/week @ 2024-01-14 34/week @ 2024-01-21 32/week @ 2024-01-28 22/week @ 2024-02-04 54/week @ 2024-02-11 53/week @ 2024-02-18 60/week @ 2024-02-25 46/week @ 2024-03-03 33/week @ 2024-03-10 21/week @ 2024-03-17 28/week @ 2024-03-24 85/week @ 2024-03-31 9/week @ 2024-04-07

148 downloads per month
Used in mosquitto-rs

MIT license

2.5MB
63K SLoC

C 45K SLoC // 0.1% comments Python 15K SLoC // 0.2% comments C++ 1.5K SLoC // 0.0% comments Rust 1K SLoC // 0.0% comments Shell 194 SLoC // 0.3% comments Bitbake 80 SLoC // 0.9% comments Perl 70 SLoC // 0.3% comments XSL 54 SLoC // 0.2% comments

build Crates.io

This crate is a simple and minimal FFI binding to your system-installed libmosquitto library.

You most likely want to look at the companion crate mosquitto-rs instead of using this crate directly.

At the time of writing, libmosquitto-sys targets the API provided by libmosquitto 2.0.9

Dependencies