Add a new feature, hazmat, that is required to use the crypto hazmat capabilities.
Why
The crypto hazmat capabilities are intended for use by folks who really need it and know what they're doing with lower level crypto primitives. There's not much in there right now but it'll likely expand over time. Most devs won't need it. There are warnings in the docs, but one additional layer or barrier so that someone can't accidentally include a call to hazmat without something else being done that's very visible, like enabling a feature, might as @graydon put it, prevent something sad happening.
What
Add a new feature,
hazmat
, that is required to use the crypto hazmat capabilities.Why
The crypto hazmat capabilities are intended for use by folks who really need it and know what they're doing with lower level crypto primitives. There's not much in there right now but it'll likely expand over time. Most devs won't need it. There are warnings in the docs, but one additional layer or barrier so that someone can't accidentally include a call to hazmat without something else being done that's very visible, like enabling a feature, might as @graydon put it, prevent something sad happening.