PDCurses Rust FFI bindings
Branch: master
Clone or download

README.md

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