yoga_sys/lib.rs
1//! Low-level Rust bindings for [yoga](https://facebook.github.io/yoga)
2//!
3//! # Usage
4//!
5//! Building yoga-sys will build the yoga C library, so you don't need
6//! to do anything else than include this library as part of your dependencies.
7//!
8//! It’s [on crates.io](https://crates.io/crates/libffi-sys), so you
9//! can do:
10//!
11//! ```toml
12//! [dependencies]
13//! yoga-sys = "0.1.0"
14//! ```
15//!
16//! to your `Cargo.toml` and
17//!
18//! ```rust
19//! extern crate yoga_sys;
20//! ```
21//!
22//! to your crate root.
23
24#![allow(non_camel_case_types)]
25#![allow(non_snake_case)]
26#![allow(non_upper_case_globals)]
27#![allow(improper_ctypes)]
28
29mod ffi;
30
31pub use ffi::*;
32
33#[cfg(test)]
34mod tests;