Skip to content

Commit

Permalink
workaround: move to git version temporarily
Browse files Browse the repository at this point in the history
Revert this or bump to the release 0.6.3 as soon as it's available.
  • Loading branch information
drahnr committed Apr 17, 2021
1 parent ba8460c commit 607395a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
16 changes: 7 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include = [
]

[build-dependencies]
nlprule-build = { version = "0.6.2", optional = true }
nlprule-build = { git = "https://github.com/bminixhofer/nlprule.git", branch = "once_cell", optional = true }
# compress the nlprule artifacts to be under the 10 MB limit
# that cargo enforces
xz2 = "0.1"
Expand Down Expand Up @@ -70,7 +70,7 @@ hunspell-rs = { version = "0.3", optional = true }
fd-lock = { version = "2", optional = true }

# full grammar check, but also tokenization and disambiguation
nlprule = { version = "0.6.2", optional = true }
nlprule = { git = "https://github.com/bminixhofer/nlprule.git", branch = "once_cell", optional = true }

[dev-dependencies]
# for stripping ansi color codes
Expand All @@ -82,8 +82,8 @@ serde_plain = "0.3"
[features]
default = ["hunspell", "nlprules"]

# deprecated! pending removal
hunspell = ["hunspell-rs/bundled", "fd-lock"]
# hunspell uses the segmenter provided by nlprules
hunspell = ["hunspell-rs/bundled", "fd-lock", "nlprules"]
nlprules = ["nlprule/regex-fancy", "nlprule-build"]

all = ["hunspell", "nlprules"]
Expand Down
1 change: 0 additions & 1 deletion src/checker/nlprules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ impl Checker for NlpRulesChecker {
let rules = super::rules(config.override_tokenizer.as_ref())?;

let rules = rules
.into_iter()
.into_iter()
.filter(|rule| {
match rule
Expand Down

0 comments on commit 607395a

Please sign in to comment.