servo / servo

Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
https://servo.org
Mozilla Public License 2.0
27.57k stars 2.97k forks source link

Switch winapi dependencies to windows/windows-sys #30640

Open atouchet opened 9 months ago

atouchet commented 9 months ago

The winapi crate no longer appears to be maintained and there are now official windows/windows-sys crates from Microsoft. As such Servo should probably transition from using winapi to windows/windows-sys.

Dependencies to update:

Servo crates:

Servo organization crates:

Third party crates:

atouchet commented 2 months ago

Servo's internal crates were switched from winapi to windows-sys in #32516.

MarijnS95 commented 1 month ago

Fwiw a draft PR for wgpu is now up at https://github.com/gfx-rs/wgpu/pull/5956. Still needs a bit of refactoring to resolve the "more strict" API (i.e. missing Result checks), and to convert the WGL implementation.