xdg-rs / dirs

a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows
186 stars 23 forks source link

Migrate from winapi to windows-sys. #62

Open sunfishcode opened 2 years ago

sunfishcode commented 2 years ago

This PR migrates dirs-sys-next from winapi to windows-sys.

Windows-sys is actively maintained, by Microsoft, and has recently started to be adopted in the ecosystem; mio, parking_lot, wasmtime, and others have moved to windows-sys.

Migrating dirs-sys-next to windows-sys will help me remove one more of Wasmtime's transitive dependencies on winapi.