mirror of
https://github.com/BurntSushi/walkdir.git
synced 2025-10-02 16:04:30 +00:00
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:
parent
99fe05638d
commit
a9f41405c0
@ -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 }
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user