Skip to content

no_std support #29

@rnbguy

Description

@rnbguy

Hey. Thanks for this crate 🙏

It'd be useful if we had a no_std feature for lazy-regex, as regex already supports via no-default-features. This should be doable just by refactoring the feature list.

Currently, lazy-regex, with no-default-features, doesn't compile as it doesn't pull regex as it is an optional dependency.

$ cd lazy-regex
$ cargo build --no-default-features
...
error[E0432]: unresolved import `regex`
   --> src/lib.rs:184:9
    |
184 |         self,
    |         ^^^^ no external crate `regex`
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions