#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

#3 in #im

Download history 4/week @ 2024-07-15 117/week @ 2024-07-22 8/week @ 2024-07-29 6/week @ 2024-08-05 5/week @ 2024-08-12 51/week @ 2024-09-23 7/week @ 2024-09-30 5/week @ 2024-10-07 13/week @ 2024-10-14

76 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

~120KB