| Crates.io | termini |
| lib.rs | termini |
| version | 1.0.0 |
| created_at | 2022-10-06 15:43:21.913186+00 |
| updated_at | 2023-05-02 21:49:10.035674+00 |
| description | Minimal terminfo libary. |
| homepage | |
| repository | https://github.com/pascalkuthe/termini |
| max_upload_size | |
| id | 681422 |
| size | 49,241 |
termini is a Rust library that provides access to the terminfo database.
Some highlights of termini include:
terminfo databasesterminis main differentiating characteristic is that it's focused on providing a very minimal
functionality.
termini only has a single dependency (home to query the home directory) and has less than 1k LOC.
This means that it's easy to maintain/audit, doesn't introduce additional dependencies/compiletime and has
a smaller surface area for bugs.
terminis parser has been extensively fuzzed with cargo-fuzz to ensure that no panics occur even for fully malformed input.
Furthermore, termini is tested with a large array of compiled terminifo data to ensure it produces the correct results.
During the implementation of this crate, the following code was used as reference: