mirror of
https://github.com/BurntSushi/walkdir.git
synced 2025-10-03 00:14:27 +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]
|
[dependencies]
|
||||||
same-file = "1"
|
same-file = "1"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
|
||||||
kernel32-sys = "0.2"
|
|
||||||
winapi = "0.2"
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
docopt = "0.8"
|
docopt = "0.8"
|
||||||
quickcheck = { version = "0.4", default-features = false }
|
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")]
|
#![doc(html_root_url = "https://docs.rs/walkdir/2.0.0")]
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
|
|
||||||
#[cfg(windows)]
|
|
||||||
extern crate kernel32;
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
extern crate quickcheck;
|
extern crate quickcheck;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
extern crate rand;
|
extern crate rand;
|
||||||
extern crate same_file;
|
extern crate same_file;
|
||||||
#[cfg(windows)]
|
|
||||||
extern crate winapi;
|
|
||||||
|
|
||||||
use std::cmp::{Ordering, min};
|
use std::cmp::{Ordering, min};
|
||||||
use std::error;
|
use std::error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user