expectrl icon indicating copy to clipboard operation
expectrl copied to clipboard

Hide `Regex` needle by feature and enable it by default

Open zhiburt opened this issue 3 years ago • 0 comments

I think for people who don't uses Regex, it could be good to not include it as a dependency to decrease a crate size.

[features]
default = ["regex"]
regex = ["regex"]

So it could be used like this.

expectrl = { version = "0.0.1", default-features = false }

zhiburt avatar Jun 01 '22 12:06 zhiburt