fyaml_sys/lib.rs
1//! [![github]](https://github.com/0k/fyaml-sys) [![crates-io]](https://crates.io/crates/fyaml-sys) [![docs-rs]](https://docs.rs/fyaml-sys)
2//!
3//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
4//! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rust
5//! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs
6//!
7//! # Origin
8//!
9//! This crate is a maintained fork of [libfyaml-sys](https://crates.io/crates/libfyaml-sys)
10//! originally created by [David Tolnay](https://github.com/dtolnay). The original
11//! repository was [archived](https://github.com/dtolnay/libfyaml-rs) in December 2024.
12
13#![doc(html_root_url = "https://docs.rs/fyaml-sys/0.1.0+fy0.9.3")]
14#![allow(
15 improper_ctypes,
16 non_camel_case_types,
17 non_snake_case,
18 non_upper_case_globals
19)]
20
21#[allow(clippy::all, clippy::pedantic, unnecessary_transmutes)]
22mod bindings {
23 use libc::iovec;
24 use libc::FILE;
25
26 include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
27}
28
29pub use crate::bindings::{fy_event__bindgen_ty_1 as fy_event_data, *};
30
31// Exclude the following types from being exported out of the bindings module.
32#[allow(unknown_lints, dead_code, hidden_glob_reexports)]
33struct fy_event__bindgen_ty_1;
34#[allow(unknown_lints, dead_code, hidden_glob_reexports)]
35struct __BindgenBitfieldUnit;