yoshuawuyts / fd-lock

Advisory cross-platform file locks using file descriptors
Apache License 2.0
76 stars 18 forks source link

Reduce dependencies on non-windows targets #5

Closed mexus closed 3 years ago

mexus commented 4 years ago

Description

Depend on winapi crate only on windows target.

Motivation and Context

winapi is only required on windows target, but it is currently fetched even for "unix" platforms. With this PR merged, the amount of downloaded data is reduced significantly on non-windows targets.

Types of changes

Veetaha commented 4 years ago

Hi, @yoshuawuyts, any chance to merge this?

krojew commented 3 years ago

bump