mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-23 08:02:15 -05:00
parent
b7812e616c
commit
1046b89208
2 changed files with 8 additions and 1 deletions
|
@ -87,13 +87,13 @@ serde_json = "1.0"
|
||||||
encoding = "0.2"
|
encoding = "0.2"
|
||||||
kstring = "1.0"
|
kstring = "1.0"
|
||||||
typed-arena = "2.0.1"
|
typed-arena = "2.0.1"
|
||||||
|
maplit = "1.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_fs = "1.0"
|
assert_fs = "1.0"
|
||||||
assert_cmd = "2.0"
|
assert_cmd = "2.0"
|
||||||
predicates = "2.0"
|
predicates = "2.0"
|
||||||
criterion = "0.3"
|
criterion = "0.3"
|
||||||
maplit = "1.0"
|
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|
|
@ -182,6 +182,13 @@ impl TypeEngineConfig {
|
||||||
// From a spell-check perspective, these are more closely related to Rust than Toml
|
// From a spell-check perspective, these are more closely related to Rust than Toml
|
||||||
extend_glob: vec!["Cargo.toml".into()],
|
extend_glob: vec!["Cargo.toml".into()],
|
||||||
engine: EngineConfig {
|
engine: EngineConfig {
|
||||||
|
dict: Some(DictConfig {
|
||||||
|
extend_words: maplit::hashmap! {
|
||||||
|
"flate".into() => "flate".into(),
|
||||||
|
"ser".into() => "ser".into(),
|
||||||
|
},
|
||||||
|
..Default::default()
|
||||||
|
}),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue