#pdcurses #curses

sys pdcurses-sys

FFI bindings for PDCurses, specifically the win32a implementation

11 releases (6 breaking)

Uses old Rust 2015

0.7.1 Mar 9, 2019
0.7.0 Nov 16, 2017
0.6.0 Nov 4, 2017
0.5.1 Sep 18, 2017
0.1.0 Mar 16, 2016

#181 in Command-line interface

Download history 604/week @ 2021-02-21 524/week @ 2021-02-28 484/week @ 2021-03-07 541/week @ 2021-03-14 505/week @ 2021-03-21 422/week @ 2021-03-28 456/week @ 2021-04-04 668/week @ 2021-04-11 506/week @ 2021-04-18 516/week @ 2021-04-25 546/week @ 2021-05-02 462/week @ 2021-05-09 415/week @ 2021-05-16 437/week @ 2021-05-23 643/week @ 2021-05-30 494/week @ 2021-06-06

2,271 downloads per month
Used in 45 crates (3 directly)

MIT license

1MB
26K SLoC

C 24K SLoC // 0.2% comments Rust 2K SLoC // 0.0% comments RPM Specfile 65 SLoC

pdcurses-sys Build status Crates.io

pdcurses-sys provides Rust FFI bindings for PDCurses, specifically the fork by Bill-Gray.

Requirements

A native C compiler that cc-rs can use to compile PDCurses.

On Windows this means that you need the Visual C++ Build Tools. Check the rustup docs for more Rust <-> Windows information.

Usage

Cargo.toml

[dependencies]
pdcurses-sys = "0.7"

Picking a flavor

pdcurses-sys supports both the win32 and win32a flavors of PDCurses. It defaults to win32a if none is specified. You can use Cargo features to choose which one to use:

Cargo.toml

[dependencies.pdcurses-sys]
version = "0.7"
features = ["win32"]

License

Licensed under the MIT license, see LICENSE.md

Dependencies