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

..03-May-2022-

ci/H03-May-2022-84

src/H03-May-2022-578308

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

.cargo_vcs_info.jsonH A D01-Jan-197074 65

.gitignoreH A D24-Aug-201835 54

.travis.ymlH A D24-Aug-201897 98

COPYINGH A D17-Aug-2018126 42

Cargo.tomlH A D01-Jan-19701.2 KiB2826

Cargo.toml.orig-cargoH A D27-Jan-2019711 2826

LICENSE-MITH A D17-Aug-20181.1 KiB2217

README.mdH A D27-Jan-20191.7 KiB5234

UNLICENSEH A D17-Aug-20181.2 KiB2520

appveyor.ymlH A D19-Aug-2018605 2726

README.md

1winapi-util
2===========
3This crate provides a smattering of safe wrappers around various parts of the
4[winapi](https://crates.io/crates/winapi) crate.
5
6[![Linux build status](https://api.travis-ci.org/BurntSushi/winapi-util.png)](https://travis-ci.org/BurntSushi/winapi-util)
7[![Windows build status](https://ci.appveyor.com/api/projects/status/github/BurntSushi/winapi-util?svg=true)](https://ci.appveyor.com/project/BurntSushi/winapi-util)
8[![](http://meritbadge.herokuapp.com/winapi-util)](https://crates.io/crates/winapi-util)
9
10Dual-licensed under MIT or the [UNLICENSE](http://unlicense.org).
11
12
13### Documentation
14
15https://docs.rs/winapi-util
16
17
18### Usage
19
20Add this to your `Cargo.toml`:
21
22```toml
23[dependencies]
24winapi-util = "0.1"
25```
26
27and this to your crate root:
28
29```rust
30extern crate winapi_util;
31```
32
33
34### Notes
35
36This crate was born out of frustration with having to write lots of little
37ffi utility bindings in a variety of crates in order to get Windows support.
38Eventually, I started needing to copy & paste a lot of those utility routines.
39Since they are utility routines, they often don't make sense to expose directly
40in the crate in which they are defined. Instead of continuing this process,
41I decided to make a crate instead.
42
43Normally, I'm not a huge fan of "utility" crates like this that don't have a
44well defined scope, but this is primarily a practical endeavor to make it
45easier to isolate Windows specific ffi code.
46
47While I don't have a long term vision for this crate, I will welcome additional
48PRs that add more high level routines/types on an as-needed basis.
49
50**WARNING:** I am not a Windows developer, so extra review to make sure I've
51got things right is most appreciated.
52