libyang4-sys 0.1.1

Raw FFI bindings for libyang4
Documentation
[package]
name = "libyang4-sys"
version = "0.1.1"
authors = ["Renato Westphal <renato@opensourcerouting.org>"]
description = "Raw FFI bindings for libyang4"
keywords = ["yang", "libyang"]
edition = "2018"
license = "BSD-3-Clause"
documentation = "https://docs.rs/libyang4-sys"
categories = ["external-ffi-bindings"]

[dependencies]

[build-dependencies]
bindgen = { version = "0.72.0", optional = true }
cmake = { version = "0.1", optional = true }
pkg-config = "0.3.32"

[features]
# Use pre-generated FFI bindings
default = []
# Generate FFI bindings dynamically.
# For this to work libyang4 needs to be installed in the system.
bindgen = ["dep:bindgen"]
# Bundle libyang4 C files into a static archive linked to this crate.
# This removes the libyang4 dynamic link dependency.
bundled = ["dep:cmake"]