#safe-bindings #low-level #high-level #exists #nice-agent

libnice

Safe, high-level Rust bindings to libnice

5 unstable releases

0.3.0 Jan 17, 2021
0.2.2 Dec 27, 2020
0.2.1 Oct 11, 2020
0.2.0 Apr 5, 2020
0.1.0 Feb 2, 2019

#34 in #exists

LGPL-2.1 OR MPL-1.1

54KB
1K SLoC

libnice

Safe, high- and low-level Rust bindings to libnice.

Usage

See the connects_and_transmits_data test in the file src/ice.rs for a full example of the high-level bindings.

License

libnice is licensed under both the Mozilla Public License version 1.1 and the GNU Lesser General Public License version 2.1 (just like libnice itself). For the full text of these licenses, see the files LICENSE.MPL and LICENSE.LGPL respectively.


lib.rs:

Safe high- and low-level bindings to libnice.

Currently not all parts of the NiceAgent have safe bindings, they are only added as needed. Similarly, no safe bindings for the StunAgent or the Pseudo TCP Socket part of libnice exist.

If required, the low-level, unsafe, generated FFI bindings are re-exported as the [sys] module.

Dependencies

~6.5–10MB
~221K SLoC