1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#![cfg(windows)]
#![warn(missing_docs)]
/*!
 This crate provides a wrapper for console-related functions in the Windows API.

 # Usage
 Add the following to `Cargo.toml`:
 ```toml
 [dependencies]
 winconsole = "0.4"
 ```
 Then, add the following to your code:

 ```rust
 extern crate winconsole;
 ```
 In order to use features related to input, the `input` feature is required.  
 Add this to `Cargo.toml`:
 ```toml
 [dependencies.winconsole]
 version = "0.4"
 features = ["input"]
 ```
 */
extern crate winapi;
extern crate cgmath;
#[macro_use] extern crate lazy_static;
extern crate rgb;

#[macro_use] mod macros;

/// Contains console-related functions, structs, and enums.
pub mod console;
/// Contains various error types.
pub mod errors;
/// Contains input-related functions, structs, and enums.
#[cfg(feature = "input")]
pub mod input;