libnotcurses-sys 3.1.0-alpha.1

Low-level Rust bindings for the notcurses C library.
Documentation

Crate API MSRV: 1.56.0

libnotcurses-sys is a low-level Rust wrapper for the notcurses C library

It is built with several layers of zero-overhead abstractions over the C functions and pointers, accessed through FFI.

It adds greater safety and type correctness over the underlying C library API, while trying to remain very close to it.

Example

use libnotcurses_sys::*;

fn main() -> NcResult<()> {
    let nc = unsafe { Nc::new_cli()? };
    nc.stdplane().putstr("hello world")?;
    nc.render()?;
    unsafe { nc.stop()? };
    Ok(())
}

Versioning Notes

Current version 3 follows semver as if it were major version 0.

This means a rapid pace of development of the API, while any breaking changes happening wont be reflected by a major version bump.

The library is very much functional, although the API is somewhat unstable.