terminfo/lib.rs
1// DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2// Version 2, December 2004
3//
4// Copyleft (ↄ) meh. <meh@schizofreni.co> | http://meh.schizofreni.co
5//
6// Everyone is permitted to copy and distribute verbatim or modified
7// copies of this license document, and changing it is allowed as long
8// as the name is changed.
9//
10// DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11// TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12//
13// 0. You just DO WHAT THE FUCK YOU WANT TO.
14
15#[cfg(doctest)]
16#[doc = include_str!("../README.md")]
17extern "C" {}
18
19mod error;
20pub use crate::error::{Error, Result};
21
22/// Parsers for various formats.
23mod parser;
24
25/// String capability expansion.
26#[macro_use]
27pub mod expand;
28pub use crate::expand::Expand;
29
30/// Standard terminal capabilities.
31pub mod capability;
32pub use crate::capability::{Capability, Value};
33
34mod database;
35pub use crate::database::Database;
36
37/// Constants to deal with name differences across terminfo and termcap.
38pub mod names;