Smithay / calloop

A callback-based Event Loop
MIT License
177 stars 34 forks source link

Make `nix` not a public dependency #179

Closed ids1024 closed 2 months ago

ids1024 commented 4 months ago

I see 0.13.0 is a fairly minor change, but is a semver bump because nix is a public dependency. Just for the Signal and siginfo type rexports used with the signals feature it seems? That doesn't seem ideal.

It may also be better not to use nix, but that is less important than removing it from the public API.

Maybe Signal could just be a c_int, then the caller could easily use the constants in libc? Not sure about siginfo. A struct could be defined in calloop providing certain fields.