libnotcurses-sys 3.0.4

Low-level Rust bindings for the notcurses C library.
docs.rs failed to build libnotcurses-sys-3.0.4
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

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 libnotcurses-sys 3.0.0 is compatible with notcurses API 3.0.0.

Both project's version number are independent from each other. Historically, version 1 and 2 of this library didn't follow semver, being tied to the API version, never enjoying a major version 0 for exploratory development.

This is why version 3 is following 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.

Status Notes

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