#xmpp #libstrophe #im #generated-bindings #bindgen #client-server

sys libstrophe-sys-bindgen

Rust bindings for libstrophe, generated using bindgen

24 stable releases (5 major)

7.1.0 Jun 15, 2023
6.0.2 May 23, 2023
5.0.0 Jun 27, 2022
4.5.1 Jan 17, 2022
1.0.1 Nov 7, 2017

#4 in #im

Download history 8/week @ 2024-03-14 5/week @ 2024-03-21 39/week @ 2024-03-28 23/week @ 2024-04-04 5/week @ 2024-04-11 4/week @ 2024-04-18 4/week @ 2024-04-25 7/week @ 2024-05-16 7/week @ 2024-05-23 5/week @ 2024-05-30 11/week @ 2024-06-06 26/week @ 2024-06-13 11/week @ 2024-06-20 2/week @ 2024-06-27

52 downloads per month
Used in 2 crates (via libstrophe)

LGPL-3.0

37KB
1K SLoC

libstrophe-sys-bindgen

Documentation

See full documentation

Usage

Add this to your Cargo.toml:

[dependencies]
libstrophe-sys-bindgen = "7.1.0"

Maintenance Build Status Documentation

libstrophe C library bindings

This crate provides bindings to libstrophe C library which enables you the creation of XMPP clients and servers. The bindings were statically generated using bindgen so the crate doesn't have a hard dependency on bindgen. If you still want to regenerate the bindings during building of the create, enable buildtime_bindgen feature.

Usage of this crate creates runtime dependency on libstrophe.so so be sure to install that using your package manager.

Current bindings were generated from libstrophe version: 0.12.0

The difference from libstrophe-sys crate is that this one is automatically generated hence easier to maintain.

This crate contains only C bindings, for Rust ergonomic interface see libstrophe crate.

License: LGPL-3.0

Dependencies

~125KB