Cargo Features

signal-hook = { version = "0.3.17", default-features = false, features = ["channel", "iterator", "extended-siginfo", "extended-siginfo-raw"] }
default = channel, iterator

These default features are set whenever signal-hook is added without default-features = false somewhere in the dependency tree.

channel default extended-siginfo? iterator

Affects low_level::channel

iterator default extended-siginfo? = channel

Affects signal-hook::iterator

extended-siginfo = channel, extended-siginfo-raw, iterator

TODO: Unify them on the next breaking release.

Affects exfiltrator::origin

extended-siginfo-raw extended-siginfo? = cc

Affects low_level::siginfo

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

cc build extended-siginfo-raw?