deps: remove winapi and kernel32

These are extraneous at this point. The Windows specific logic is now
encapsulated in the same-file crate.
This commit is contained in:
Andrew Gallant 2017-10-21 08:19:18 -04:00
parent 99fe05638d
commit a9f41405c0
No known key found for this signature in database
GPG Key ID: B2E3A4923F8B0D44
2 changed files with 0 additions and 8 deletions

View File

@ -19,10 +19,6 @@ appveyor = { repository = "BurntSushi/walkdir" }
[dependencies]
same-file = "1"
[target.'cfg(windows)'.dependencies]
kernel32-sys = "0.2"
winapi = "0.2"
[dev-dependencies]
docopt = "0.8"
quickcheck = { version = "0.4", default-features = false }

View File

@ -106,15 +106,11 @@ for entry in walker.filter_entry(|e| !is_hidden(e)) {
#![doc(html_root_url = "https://docs.rs/walkdir/2.0.0")]
#![deny(missing_docs)]
#[cfg(windows)]
extern crate kernel32;
#[cfg(test)]
extern crate quickcheck;
#[cfg(test)]
extern crate rand;
extern crate same_file;
#[cfg(windows)]
extern crate winapi;
use std::cmp::{Ordering, min};
use std::error;