From a9f41405c0fac03d0119c6cbfc38443040cd53ea Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 21 Oct 2017 08:19:18 -0400 Subject: deps: remove winapi and kernel32 These are extraneous at this point. The Windows specific logic is now encapsulated in the same-file crate. --- Cargo.toml | 4 ---- src/lib.rs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 298b41d..56e5f1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 } diff --git a/src/lib.rs b/src/lib.rs index d7e2d71..ebb0252 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; -- cgit v1.2.3