fn option_bool_parser(input: &mut &str) -> ModalResult<bool>Expand description
Recognizes the ! boolean operator in option names.
This parser does not fully consume its input.
It also expects the package name to be there, if the ! does not exist.
§Format
The parser expects a ! or either one of ASCII alphanumeric character, hyphen, dot, or
underscore.
§Errors
If the input string does not match the expected format, an error will be returned.