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.
```rust use libnotcurses_sys::*;
fn main() -> NcResult<()> { let nc = unsafe { Nc::new_cli()? }; nc.stdplane().putstr("hello world")?; nc.render()?; unsafe { nc.stop()? }; Ok(()) } ```
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.