#yaml #ffi #libyaml

sys libyaml-sys

Low-level bindings for the LibYAML library

1 unstable release

0.1.0 Sep 27, 2019

#332 in #yaml

25 downloads per month

MIT license

595KB
14K SLoC

C 9K SLoC // 0.2% comments Rust 4.5K SLoC Forge Config 169 SLoC // 0.2% comments Automake 47 SLoC // 0.1% comments Shell 27 SLoC // 0.1% comments Batch 9 SLoC

Contains (obscure autoconf code, 3KB) libyaml/configure.ac

crates.io docs.rs

libyaml-sys

This Rust crate provides low-level bindings for the LibYAML library, version 0.2.2. It has the following limitations:

  • the yaml library must be available on the system, no attempt is made to build it from source.

Installation

First, compile LibYAML as a shared or static library and install it. Then add this crate to your Cargo.toml:

[dependencies]
libyaml-sys = "0.1.0"

License

This crate is licensed under the MIT license.


lib.rs:

Low-level bindings for the LibYAML library.

Please see the LibYAML C API documentation for function descriptions.

Dependencies