#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


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

~120KB