in3_sys/
lib.rs

1//! Low-level, unsafe Rust bindings for the [`IN3`][https://github.com/blockchainsllc/in3/] library.
2//!
3//!
4//! We recommend against using this crate directly.
5//! Instead, consider using [in3-rs](https://github.com/in3-rust/in3-rs), which provides a high-level, safe and "Rusty" interface.
6//!
7//! **Note**: documentation for functions/types was taken directly from
8//! [in3 headers](https://github.com/blockchainsllc/in3/blob/master/c/include/in3.rs.h)
9//!
10
11// Suppress errors from IN3 names
12#![allow(non_upper_case_globals)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(improper_ctypes)]
16#![no_std]
17
18extern crate libc;
19
20// Bindings should be copied here
21include!(concat!(env!("OUT_DIR"), "/in3.rs"));