104 stable releases

Uses new Rust 2021

3.1.2 Jan 7, 2022
3.1.1 Dec 23, 2021
2.4.7 Oct 18, 2021
2.3.12 Jul 29, 2021
1.2.4 Mar 24, 2020

#46 in Command-line interface

Download history 108/week @ 2021-09-25 28/week @ 2021-10-02 163/week @ 2021-10-09 76/week @ 2021-10-16 17/week @ 2021-10-23 9/week @ 2021-10-30 107/week @ 2021-11-06 15/week @ 2021-11-13 20/week @ 2021-11-20 113/week @ 2021-11-27 222/week @ 2021-12-04 68/week @ 2021-12-11 42/week @ 2021-12-18 19/week @ 2021-12-25 23/week @ 2022-01-01 39/week @ 2022-01-08

131 downloads per month
Used in 2 crates

MIT/Apache

1MB
14K SLoC

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.

hello world 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

Current version 3.1.2 is compatible with notcurses 3.0.3.

Current major version 3 is considered a development version. Just as if it it were a semver major version 0.

Dependencies

~0–1.5MB
~31K SLoC

a