typos 1.35.1__tar.gz → 1.35.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of typos might be problematic. Click here for more details.
- {typos-1.35.1 → typos-1.35.3}/Cargo.lock +18 -32
- {typos-1.35.1 → typos-1.35.3}/PKG-INFO +1 -1
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/Cargo.toml +4 -4
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/Cargo.toml +4 -4
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/file_type_specifics.rs +2 -1
- {typos-1.35.1 → typos-1.35.3}/crates/typos-dict/Cargo.toml +4 -4
- {typos-1.35.1 → typos-1.35.3}/crates/typos-dict/src/word_codegen.rs +118660 -118665
- {typos-1.35.1 → typos-1.35.3}/crates/typos-vars/Cargo.toml +3 -3
- {typos-1.35.1 → typos-1.35.3}/Cargo.toml +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/aho_corasick.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/gen.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/insensitive.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/lib.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/map.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/match.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/ordered_map.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/dictgen/src/trie.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos/Cargo.toml +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos/src/check.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos/src/dict.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos/src/lib.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos/src/tokens.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/bin/typos-cli/args.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/bin/typos-cli/main.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/bin/typos-cli/report.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/config.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/default_types.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/dict.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/file.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/file_type.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/lib.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/policy.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/src/report.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/tests/cmd/en-us.in/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-cli/tests/cmd/false-positives.in/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-dict/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-dict/src/lib.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-vars/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-vars/src/lib.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/typos-vars/src/vars_codegen.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon/Cargo.toml +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon/src/codegen.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon/src/lib.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon-core/Cargo.toml +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon-core/README.md +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon-core/src/borrowed.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon-core/src/lib.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/crates/varcon-core/src/parser.rs +0 -0
- {typos-1.35.1 → typos-1.35.3}/pyproject.toml +0 -0
|
@@ -416,7 +416,7 @@ dependencies = [
|
|
|
416
416
|
|
|
417
417
|
[[package]]
|
|
418
418
|
name = "dictgen"
|
|
419
|
-
version = "0.
|
|
419
|
+
version = "0.4.0"
|
|
420
420
|
dependencies = [
|
|
421
421
|
"aho-corasick",
|
|
422
422
|
"phf",
|
|
@@ -560,9 +560,9 @@ dependencies = [
|
|
|
560
560
|
|
|
561
561
|
[[package]]
|
|
562
562
|
name = "fastrand"
|
|
563
|
-
version = "2.0
|
|
563
|
+
version = "2.3.0"
|
|
564
564
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
565
|
-
checksum = "
|
|
565
|
+
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
|
566
566
|
|
|
567
567
|
[[package]]
|
|
568
568
|
name = "filetime"
|
|
@@ -865,19 +865,20 @@ dependencies = [
|
|
|
865
865
|
|
|
866
866
|
[[package]]
|
|
867
867
|
name = "phf"
|
|
868
|
-
version = "0.
|
|
868
|
+
version = "0.12.1"
|
|
869
869
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
870
|
-
checksum = "
|
|
870
|
+
checksum = "913273894cec178f401a31ec4b656318d95473527be05c0752cc41cdc32be8b7"
|
|
871
871
|
dependencies = [
|
|
872
872
|
"phf_macros",
|
|
873
873
|
"phf_shared",
|
|
874
|
+
"serde",
|
|
874
875
|
]
|
|
875
876
|
|
|
876
877
|
[[package]]
|
|
877
878
|
name = "phf_codegen"
|
|
878
|
-
version = "0.
|
|
879
|
+
version = "0.12.1"
|
|
879
880
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
880
|
-
checksum = "
|
|
881
|
+
checksum = "efbdcb6f01d193b17f0b9c3360fa7e0e620991b193ff08702f78b3ce365d7e61"
|
|
881
882
|
dependencies = [
|
|
882
883
|
"phf_generator",
|
|
883
884
|
"phf_shared",
|
|
@@ -885,19 +886,19 @@ dependencies = [
|
|
|
885
886
|
|
|
886
887
|
[[package]]
|
|
887
888
|
name = "phf_generator"
|
|
888
|
-
version = "0.
|
|
889
|
+
version = "0.12.1"
|
|
889
890
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
890
|
-
checksum = "
|
|
891
|
+
checksum = "2cbb1126afed61dd6368748dae63b1ee7dc480191c6262a3b4ff1e29d86a6c5b"
|
|
891
892
|
dependencies = [
|
|
893
|
+
"fastrand",
|
|
892
894
|
"phf_shared",
|
|
893
|
-
"rand",
|
|
894
895
|
]
|
|
895
896
|
|
|
896
897
|
[[package]]
|
|
897
898
|
name = "phf_macros"
|
|
898
|
-
version = "0.
|
|
899
|
+
version = "0.12.1"
|
|
899
900
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
900
|
-
checksum = "
|
|
901
|
+
checksum = "d713258393a82f091ead52047ca779d37e5766226d009de21696c4e667044368"
|
|
901
902
|
dependencies = [
|
|
902
903
|
"phf_generator",
|
|
903
904
|
"phf_shared",
|
|
@@ -909,9 +910,9 @@ dependencies = [
|
|
|
909
910
|
|
|
910
911
|
[[package]]
|
|
911
912
|
name = "phf_shared"
|
|
912
|
-
version = "0.
|
|
913
|
+
version = "0.12.1"
|
|
913
914
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
914
|
-
checksum = "
|
|
915
|
+
checksum = "06005508882fb681fd97892ecff4b7fd0fee13ef1aa569f8695dae7ab9099981"
|
|
915
916
|
dependencies = [
|
|
916
917
|
"siphasher",
|
|
917
918
|
"unicase",
|
|
@@ -985,21 +986,6 @@ version = "5.2.0"
|
|
|
985
986
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
986
987
|
checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
|
|
987
988
|
|
|
988
|
-
[[package]]
|
|
989
|
-
name = "rand"
|
|
990
|
-
version = "0.8.5"
|
|
991
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
992
|
-
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
|
993
|
-
dependencies = [
|
|
994
|
-
"rand_core",
|
|
995
|
-
]
|
|
996
|
-
|
|
997
|
-
[[package]]
|
|
998
|
-
name = "rand_core"
|
|
999
|
-
version = "0.6.4"
|
|
1000
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1001
|
-
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
1002
|
-
|
|
1003
989
|
[[package]]
|
|
1004
990
|
name = "rayon"
|
|
1005
991
|
version = "1.8.0"
|
|
@@ -1551,7 +1537,7 @@ dependencies = [
|
|
|
1551
1537
|
|
|
1552
1538
|
[[package]]
|
|
1553
1539
|
name = "typos-cli"
|
|
1554
|
-
version = "1.35.
|
|
1540
|
+
version = "1.35.3"
|
|
1555
1541
|
dependencies = [
|
|
1556
1542
|
"ahash",
|
|
1557
1543
|
"anstream",
|
|
@@ -1600,7 +1586,7 @@ dependencies = [
|
|
|
1600
1586
|
|
|
1601
1587
|
[[package]]
|
|
1602
1588
|
name = "typos-dict"
|
|
1603
|
-
version = "0.
|
|
1589
|
+
version = "0.13.0"
|
|
1604
1590
|
dependencies = [
|
|
1605
1591
|
"codegenrs",
|
|
1606
1592
|
"csv",
|
|
@@ -1618,7 +1604,7 @@ dependencies = [
|
|
|
1618
1604
|
|
|
1619
1605
|
[[package]]
|
|
1620
1606
|
name = "typos-vars"
|
|
1621
|
-
version = "0.
|
|
1607
|
+
version = "0.10.0"
|
|
1622
1608
|
dependencies = [
|
|
1623
1609
|
"codegenrs",
|
|
1624
1610
|
"dictgen",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "dictgen"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.4.0"
|
|
4
4
|
description = "Compile-time case-insensitive map"
|
|
5
5
|
categories = ["development-tools", "text-processing"]
|
|
6
6
|
keywords = ["development", "spelling", "no_std"]
|
|
@@ -23,9 +23,9 @@ aho-corasick = ["dep:aho-corasick"]
|
|
|
23
23
|
|
|
24
24
|
[dependencies]
|
|
25
25
|
unicase = "2.8.1"
|
|
26
|
-
phf = { version = "0.
|
|
27
|
-
phf_shared = { version = "0.
|
|
28
|
-
phf_codegen = { version = "0.
|
|
26
|
+
phf = { version = "0.12", features = ["unicase"], optional = true }
|
|
27
|
+
phf_shared = { version = "0.12", optional = true }
|
|
28
|
+
phf_codegen = { version = "0.12", optional = true }
|
|
29
29
|
aho-corasick = { version = "1.1.3", optional = true }
|
|
30
30
|
|
|
31
31
|
[lints]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "typos-cli"
|
|
3
|
-
version = "1.35.
|
|
3
|
+
version = "1.35.3"
|
|
4
4
|
description = "Source Code Spelling Correction"
|
|
5
|
-
readme = "
|
|
5
|
+
readme = "README.md"
|
|
6
6
|
categories = ["development-tools", "text-processing"]
|
|
7
7
|
keywords = ["development", "spelling"]
|
|
8
8
|
repository.workspace = true
|
|
@@ -43,8 +43,8 @@ doc = false
|
|
|
43
43
|
[dependencies]
|
|
44
44
|
typos = { version = "^0.10", path = "../typos" }
|
|
45
45
|
varcon-core = { version = "^5.0.3", path = "../varcon-core" }
|
|
46
|
-
typos-dict = { version = "^0.
|
|
47
|
-
typos-vars = { version = "^0.
|
|
46
|
+
typos-dict = { version = "^0.13", path = "../typos-dict", optional = true }
|
|
47
|
+
typos-vars = { version = "^0.10", path = "../typos-vars", optional = true }
|
|
48
48
|
unicase = "2.8.1"
|
|
49
49
|
anyhow = "1.0"
|
|
50
50
|
clap = { version = "4.5.4", features = ["derive"] }
|
|
@@ -70,7 +70,8 @@ pub(crate) const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
|
|
70
70
|
"rust",
|
|
71
71
|
StaticDictConfig {
|
|
72
72
|
ignore_idents: &[
|
|
73
|
-
"flate2",
|
|
73
|
+
"flate2", // https://crates.io/crates/flate2
|
|
74
|
+
"ratatui", // https://crates.io/crates/ratatui
|
|
74
75
|
],
|
|
75
76
|
ignore_words: &[
|
|
76
77
|
"ser", // serde::ser, serde_json::ser, etc.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "typos-dict"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.13.0"
|
|
4
4
|
description = "Source Code Spelling Correction"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
categories = ["development-tools", "text-processing"]
|
|
@@ -16,8 +16,8 @@ all-features = true
|
|
|
16
16
|
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
|
|
17
17
|
|
|
18
18
|
[dependencies]
|
|
19
|
-
phf = "0.
|
|
20
|
-
dictgen = { version = "^0.
|
|
19
|
+
phf = "0.12.0"
|
|
20
|
+
dictgen = { version = "^0.4", path = "../dictgen", features = ["map"] }
|
|
21
21
|
|
|
22
22
|
[dev-dependencies]
|
|
23
23
|
csv = "1.3"
|
|
@@ -25,7 +25,7 @@ itertools = "0.14"
|
|
|
25
25
|
edit-distance = "2.1"
|
|
26
26
|
unicase = "2.8.1"
|
|
27
27
|
codegenrs = "3.0"
|
|
28
|
-
dictgen = { version = "^0.
|
|
28
|
+
dictgen = { version = "^0.4", path = "../dictgen", features = ["codegen", "map", "aho-corasick"] }
|
|
29
29
|
varcon = { version = "^1.0", path = "../varcon" }
|
|
30
30
|
snapbox = "0.6.5"
|
|
31
31
|
indexmap = "2.2.6"
|