#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

#12 in #console

Download history 154/week @ 2018-10-10 17/week @ 2018-10-17 3/week @ 2018-10-24 64/week @ 2018-10-31 34/week @ 2018-11-07 31/week @ 2018-11-14 29/week @ 2018-11-21 133/week @ 2018-11-28 3/week @ 2018-12-05 31/week @ 2018-12-12 192/week @ 2018-12-19 17/week @ 2018-12-26 16/week @ 2019-01-02 7/week @ 2019-01-09 6/week @ 2019-01-16

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
~19K 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