This crate provies experimental support for responding to OS signals using channels. Currently, this only works on nix based systems, but I'd appreciate help adding Windows support.

Build status

Dual-licensed under MIT or the UNLICENSE.

Documentation

http://burntsushi.net/rustdoc/chan-signal/.