Skip to content

Commit

Permalink
Remove onig/fancy syntect switch
Browse files Browse the repository at this point in the history
  • Loading branch information
gyscos committed Jun 5, 2024
1 parent 6c90832 commit c0157de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cursive-syntect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ unicode-width = "0.1.9"

[dependencies.syntect]
version = "5.0.0"
optional = true
default-features = false
# default-features = false
features = ["parsing"]

[dev-dependencies]
Expand All @@ -30,6 +29,7 @@ version = "5.0.0"
features = ["regex-onig", "metadata"]

[features]
default = ["regex-onig"]
regex-onig = ["syntect/regex-onig"]
regex-fancy = ["syntect/regex-fancy"]
# Using this means that we don't build with "default-features = false", which is unfortunate.
#default = ["regex-onig"]
#regex-onig = ["syntect/regex-onig"]
#regex-fancy = ["syntect/regex-fancy"]

0 comments on commit c0157de

Please sign in to comment.