Skip to content

Commit

Permalink
vfs: Remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
madadam committed Sep 11, 2023
1 parent a36180c commit 8c07981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions vfs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ libc = "0.2.139"
# https://github.com/dokan-dev/dokan-rust/pull/7
dokan = { git = "https://github.com/inetic/dokan-rust", branch = "env-to-recompile-dll" }
dokan-sys = { git = "https://github.com/inetic/dokan-rust", branch = "env-to-recompile-dll" }
bitflags = "1.2.1"
oneshot = "0.1.5"
widestring = "0.4.3"
winapi = { version = "0.3.9", features = ["std", "errhandlingapi", "handleapi", "heapapi", "ioapiset", "minwinbase", "minwindef", "ntdef", "ntstatus", "processthreadsapi", "sddl", "securitybaseapi", "synchapi", "winbase", "winerror", "winnt"] }
winapi = { version = "0.3.9", features = ["ntstatus", "winnt"] }

[dev-dependencies]
criterion = { version = "0.4", features = ["html_reports"] }
Expand Down
2 changes: 1 addition & 1 deletion vfs/src/dokan/single_repo_mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ pub fn mount(
}
};

let (on_mount_tx, on_mount_rx) = oneshot::channel();
let (on_mount_tx, on_mount_rx) = mpsc::sync_channel(0);
let (unmount_tx, unmount_rx) = mpsc::sync_channel(1);

let join_handle = thread::spawn(move || {
Expand Down

0 comments on commit 8c07981

Please sign in to comment.