[](https://crates.io/crates/libnotcurses-sys)
[](https://docs.rs/libnotcurses-sys/)
[](https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html)
[](https://github.com/dankamongmen/libnotcurses-sys)
`libnotcurses-sys` is a low-level Rust wrapper for the
[notcurses C library](https://www.github.com/dankamongmen/notcurses/)
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
```rust
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**.