Skip to main content

gtcaca_sys/
lib.rs

1//! Raw FFI bindings to [GTCaca](https://github.com/stricaud/gtcaca), a
2//! libcaca-based terminal UI toolkit.
3//!
4//! This crate exposes the C API verbatim (generated by bindgen) and links the
5//! GTCaca C sources together with libcaca. It is `unsafe` by nature — for a
6//! safe, idiomatic interface use the [`gtcaca`](https://crates.io/crates/gtcaca)
7//! crate.
8//!
9//! libcaca must be installed on the system (found via pkg-config at build time):
10//! `apt install libcaca-dev`, `dnf install libcaca-devel`, or
11//! `brew install libcaca`.
12#![allow(non_upper_case_globals)]
13#![allow(non_camel_case_types)]
14#![allow(non_snake_case)]
15#![allow(dead_code)]
16#![allow(clippy::all)]
17
18include!(concat!(env!("OUT_DIR"), "/bindings.rs"));