#xmpp #libstrophe #im #bindgen

sys libstrophe-sys-bindgen

Rust bindings for libstrophe, generated using bindgen

26 stable releases (6 major)

Uses new Rust 2024

new 8.0.1 Apr 13, 2025
7.1.0 Jun 15, 2023
7.0.1 May 24, 2023
6.0.2 May 23, 2023
1.0.1 Nov 7, 2017

#6 in #im


Used in 2 crates (via libstrophe)

LGPL-3.0

41KB
1K SLoC

libstrophe-sys-bindgen

Documentation

See full documentation

Usage

Add this to your Cargo.toml:

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

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 crate, 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.14.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

~130KB