sigpipe-untouched 0.3.0

Get rid of `failed printing to stdout: Broken pipe (os error 32)` panics by setting `SIGPIPE` to `SIG_DFL` before your `fn main()` runs.
docs.rs failed to build sigpipe-untouched-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

sigpipe-untouched

Makes the Rust standard library leave SIGPIPE completely untouched. In particular, this means SIGPIPE is

Usage

Add

[dependencies]
sigpipe-untouched = "0.3.0"

to your Cargo.toml and

use sigpipe_untouched;

to main.rs to let rustc know it must be linked despite not being explicitly used.

This crate requires nightly Rust.