kettle11 / kapp

A pure Rust window and input library for Windows, Mac, and Web. (Work in progress)
Apache License 2.0
56 stars 4 forks source link

Replace winapi dep with lawrencium #46

Closed lunabunn closed 3 years ago

lunabunn commented 3 years ago

lawrencium is a crate that provides

Bindings to a limited subset of the Windows API.

Not only is it much smaller than pulling in winapi as is done now, it's also zlib licensed, so I think it would be a good idea to replace winapi with it. Currently waiting on https://github.com/Lokathor/lawrencium/pull/4.

kettle11 commented 3 years ago

Fantastic! I've been meaning to do something like this. Thanks so much for doing it!

If we're going to use lawrencium it'd also be good to move the rest of the Windows backend over to it as well, but an issue can be opened to get around to that.

Once https://github.com/Lokathor/lawrencium/pull/4 is merged let's merge this as well. Thanks again!