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.
I see 0.13.0 is a fairly minor change, but is a semver bump because
nix
is a public dependency. Just for theSignal
andsiginfo
type rexports used with thesignals
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 ac_int
, then the caller could easily use the constants inlibc
? Not sure aboutsiginfo
. A struct could be defined in calloop providing certain fields.