123 stable releases

3.11.0 Oct 3, 2024
3.10.1 Feb 22, 2024
3.10.0 Sep 8, 2023
3.9.1 Apr 13, 2023
1.2.4 Mar 24, 2020

#288 in Command-line interface

Download history 128/week @ 2024-09-18 203/week @ 2024-09-25 195/week @ 2024-10-02 30/week @ 2024-10-09 17/week @ 2024-10-16 4/week @ 2024-10-23 4/week @ 2024-10-30 9/week @ 2024-11-06 5/week @ 2024-11-13 10/week @ 2024-11-20 9/week @ 2024-11-27 81/week @ 2024-12-04 162/week @ 2024-12-11 10/week @ 2024-12-18 12/week @ 2024-12-25 26/week @ 2025-01-01

249 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

1MB
17K SLoC

Crate API MSRV: 1.65.0

libnotcurses-sys is a low-level Rust wrapper for the notcurses C library

It's recommended to use the notcurses higher level bindings.

Example

use libnotcurses_sys::*;

fn main() -> NcResult<()> {
    let nc = unsafe { Nc::new_cli()? };
    let stdplane = unsafe { nc.stdplane() };
    stdplane.putstr("\nhello world!\n")?;
    nc.render()?;
    unsafe { nc.stop()? };
    Ok(())
}

Versioning

The latest released version is compatible with notcurses 3.0.11. The unreleased version is compatible with notcurses unreleased master branch.

Current major version 3 is considered a development version.

Dependencies

~0–2.3MB
~38K SLoC