mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
fix(dict): Balance dev speed with risk of introducing breaks
I've been cutting down the dict size to speed up my testing but I keep submitting it. Instead, it is a feature.
This commit is contained in:
parent
34c922509a
commit
c7ca904401
2 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,10 @@ edition = "2018"
|
||||||
travis-ci = { repository = "crate-ci/defenestrate" }
|
travis-ci = { repository = "crate-ci/defenestrate" }
|
||||||
appveyor = { repository = "epage/defenestrate" }
|
appveyor = { repository = "epage/defenestrate" }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
# Support quickly iterating
|
||||||
|
iterate_unstable = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
failure = "0.1"
|
failure = "0.1"
|
||||||
structopt = "0.2"
|
structopt = "0.2"
|
||||||
|
|
1
build.rs
1
build.rs
|
@ -24,6 +24,7 @@ fn main() {
|
||||||
for record in &records {
|
for record in &records {
|
||||||
let value = format!(r#""{}""#, &record[1]);
|
let value = format!(r#""{}""#, &record[1]);
|
||||||
builder.entry(unicase::UniCase(&record[0]), &value);
|
builder.entry(unicase::UniCase(&record[0]), &value);
|
||||||
|
#[cfg(features = "iterate_unstable")]
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
builder.build(&mut file).unwrap();
|
builder.build(&mut file).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue