• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-61,71744,599

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D01-Jan-197074 65

.gitignoreH A D09-Mar-201943 64

.gitmodulesH A D09-Mar-2019100 43

Cargo.tomlH A D01-Jan-19701 KiB3632

Cargo.toml.orig-cargoH A D09-Mar-2019540 2621

LICENSE.mdH A D09-Mar-20191.1 KiB2217

README.mdH A D09-Mar-20191.2 KiB3725

appveyor.ymlH A D09-Mar-20194.5 KiB130113

build.rsH A D09-Mar-20193.7 KiB8880

README.md

1# pdcurses-sys [![Build status](https://ci.appveyor.com/api/projects/status/7quldtl11lsitu2v?svg=true)](https://ci.appveyor.com/project/ihalila/pdcurses-sys) [![Crates.io](https://img.shields.io/crates/v/pdcurses-sys.svg)](https://crates.io/crates/pdcurses-sys)
2
3pdcurses-sys provides Rust FFI bindings for [PDCurses](http://wmcbrine.com/pdcurses/),
4specifically the fork by [Bill-Gray](https://github.com/Bill-Gray/PDCurses).
5
6## Requirements
7
8A native C compiler that [cc-rs](https://github.com/alexcrichton/cc-rs)
9can use to compile PDCurses.
10
11On Windows this means that you need the Visual C++ Build Tools. Check the [rustup docs](https://github.com/rust-lang-nursery/rustup.rs/blob/master/README.md#working-with-rust-on-windows)
12for more Rust <-> Windows information.
13
14## Usage
15
16Cargo.toml
17```toml
18[dependencies]
19pdcurses-sys = "0.7"
20```
21
22## Picking a flavor
23
24pdcurses-sys supports both the win32 and win32a flavors of PDCurses. It defaults to win32a if none
25is specified. You can use Cargo features to choose which one to use:
26
27Cargo.toml
28```toml
29[dependencies.pdcurses-sys]
30version = "0.7"
31features = ["win32"]
32```
33
34## License
35
36Licensed under the MIT license, see [LICENSE.md](LICENSE.md)
37