Skip to content

Instantly share code, notes, and snippets.

View pabloordonez's full-sized avatar

Pablo Manuel Ordóñez pabloordonez

View GitHub Profile
@pabloordonez
pabloordonez / cargo.toml
Created July 18, 2018 18:30
Standard stdout on windows is really slow. Instead, getting a handle to the CONOUT$ and writing to it, can increase the speed a LOT.
[package]
name = "rustfastcmd"
version = "0.1.0"
authors = ["Pablo Ordoñez <pabloo84@gmail.com>"]
[dependencies]
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser", "wincon", "fileapi", "handleapi"] }