#console #input #terminal #windows

winconsole

A wrapper for console-related functions in the Windows API

14 releases (9 breaking)

0.10.0 Aug 3, 2018
0.9.1 Jun 23, 2018
0.8.0 Jun 12, 2018

#9 in #input

Download history 1/week @ 2018-08-30 18/week @ 2018-09-06 5/week @ 2018-09-13 15/week @ 2018-09-20 14/week @ 2018-09-27 34/week @ 2018-10-04 13/week @ 2018-10-11 154/week @ 2018-10-18 16/week @ 2018-10-25 17/week @ 2018-11-01 79/week @ 2018-11-08 34/week @ 2018-11-15 15/week @ 2018-11-22

179 downloads per month

MIT/Apache

193KB
4K SLoC

winconsole

This crate provides a wrapper for console-related functions in the Windows API.

Crate Documentation License

Usage

Add the following to Cargo.toml:

[dependencies]
winconsole = "0.10"

Then, add the following to your code:

extern crate winconsole;

There are a few optional features:

  • input - Includes input-related functions.
  • serde - Support for serde.
  • window - Includes window-related functions.

These features must be added to Cargo.toml:

[dependencies.winconsole]
version = "0.10"
features = ["input", "serde", "window"]

lib.rs:

This crate provides a wrapper for console-related functions in the Windows API.

Crate License

Usage

Add the following to Cargo.toml:

[dependencies]
winconsole = "0.10"

Then, add the following to your code:

extern crate winconsole;

There are a few optional features:

  • input - Includes input-related functions.
  • serde - Support for serde.
  • window - Includes window-related functions.

These features must be added to Cargo.toml:

[dependencies.winconsole]
version = "0.10"
features = ["input", "serde", "window"]

Dependencies

~1.5MB
~20K SLoC

  • cgmath 0.16
  • lazy_static 1.0
  • rgb 0.8
  • winapi 0.3+consoleapi+minwindef+processenv+utilapiset+winbase+wincon+windef+winnls+winnt+winuser
  • optional serde 1.0+serde_derive