Upgrading ctrlc 2 to 3
Breaking2.0.1 → 3.5.2Breaking2Platform2Changed12Fixed1
Fetching 34 releases from GitHub…14 / 34
BreakingUpgrade verdict
2 breaking changes and 2 platform requirement changes.
In plain terms
- The library no longer works on RedoxOS.
- On Unix, if you try to set a second Ctrl-C handler while one is already registered, it now fails with an error instead of silently replacing it.
- The library can now be used on Apple's tvOS, visionOS and watchOS platforms.
- You now need Rust 1.69.0 or newer to build this package.
Must act 4 items need code or config changes
Requires Rust 1.69.0 from 3.4.3 (none stated before).
Adds dispatch2 ^0.3, nix ^0.31, signal-hook ^0.3, windows-sys ^0.61.
Drops kernel32-sys, libc, winapi.
Installs 11 packages in all (was 4).
What you must change
Breaking2
Breaks compatibility with RedoxOS.
Registering a handler over an existing handler on unix systems is now an error.
Platform2
Adds support for tvOS, visionOS and watchOS.
Raises the minimum supported Rust version from 1.63.0 to 1.69.0.