libnotcurses-sys 3.1.0

Low-level Rust bindings for the notcurses C library.
docs.rs failed to build libnotcurses-sys-3.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: libnotcurses-sys-3.10.1

Crate API MSRV: 1.56.0 Lines Of Code

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(())
}

Status

Current version 3.1.0 is compatible with notcurses 3.0.2.

The library is very much functional, although the API is somewhat unstable, and is evolving rapidly. The versioning follows semver, with the caveat that current major version 3 is treated as if it were a major version 0.