Skip to content

Commit 5e0d0e7

Browse files
committed
fix dependent error.
Fix the error where depending on `rand_regex` with default feature causes "with features: `regex` but `rand_regex` does not have these features".
1 parent 4210e4a commit 5e0d0e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_regex"
3-
version = "0.13.0"
3+
version = "0.13.1"
44
authors = ["kennytm <[email protected]>"]
55
description = "Generates random strings and byte strings matching a regex"
66
repository = "https://github.com/kennytm/rand_regex"
@@ -18,12 +18,12 @@ maintenance = { status = "passively-maintained" }
1818

1919
[features]
2020
default = ["unicode"]
21-
unicode = ["regex-syntax/unicode", "regex/unicode"]
21+
unicode = ["regex-syntax/unicode"]
2222

2323
[dependencies]
2424
rand = "0.7"
2525
regex-syntax = { version = "0.6", default-features = false }
2626

2727
[dev-dependencies]
28-
regex = { version = "1.3", default-features = false, features = ["std"] }
28+
regex = { version = "1.3", default-features = false, features = ["std", "unicode"] }
2929
rand_xorshift = "0.2"

0 commit comments

Comments
 (0)