Using the macro literal_matcher_from_pattern! requires adding lazy_static to Cargo.toml in the consuming crate.
If I understand this stack overflow answer correctly this can be fixed by exporting lazy_static (maybe with #[doc(hidden)]?) and refer to it via $crate::lazy_static::lazy_static.
Using the macro
literal_matcher_from_pattern!
requires addinglazy_static
toCargo.toml
in the consuming crate.If I understand this stack overflow answer correctly this can be fixed by exporting
lazy_static
(maybe with #[doc(hidden)]?) and refer to it via$crate::lazy_static::lazy_static
.