Skip to content

Commit

Permalink
Fix winapi issues from flock() rework (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmooney authored Sep 10, 2020
1 parent 77f8246 commit dfcffe8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ default-features = false
version = "0.9.1"
default-features = false

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winerror", "fileapi", "winbase", "std"] }

[dev-dependencies]
lazy_static = "1.4"

Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ extern crate serde_derive;
extern crate tempfile;
extern crate toml;
extern crate walkdir;
#[cfg(windows)]
extern crate winapi;

use std::hash::{Hash, Hasher};
use std::path::{Path, PathBuf};
Expand Down

0 comments on commit dfcffe8

Please sign in to comment.