2023-03-08 11:19:20 -05:00
|
|
|
[package]
|
|
|
|
name = "typos-cli"
|
2023-10-27 11:06:07 -04:00
|
|
|
version = "1.16.21"
|
2023-03-08 11:19:20 -05:00
|
|
|
description = "Source Code Spelling Correction"
|
|
|
|
readme = "../../README.md"
|
|
|
|
categories = ["development-tools", "text-processing"]
|
|
|
|
keywords = ["development", "spelling"]
|
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
include.workspace = true
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
no-default-features = true
|
|
|
|
|
|
|
|
[package.metadata.release]
|
|
|
|
tag-prefix = ""
|
|
|
|
pre-release-replacements = [
|
|
|
|
{file="../../CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
|
|
|
|
{file="../../CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
|
|
|
|
{file="../../CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
|
|
|
|
{file="../../CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
|
|
|
|
{file="../../CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/crate-ci/typos/compare/{{tag_name}}...HEAD", exactly=1},
|
2023-03-13 22:32:08 -04:00
|
|
|
{file="../../action/entrypoint.sh", search="VERSION=.*", replace="VERSION={{version}}", min=1},
|
2023-03-08 11:19:20 -05:00
|
|
|
{file="../../docs/pre-commit.md", search="rev: .*", replace="rev: {{tag_name}}", exactly=1},
|
|
|
|
{file="../../setup.py", search="TYPOS_VERSION = .*", replace="TYPOS_VERSION = '{{version}}'", exactly=1},
|
|
|
|
]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["dict", "vars"]
|
2023-07-14 13:33:02 -04:00
|
|
|
dict = ["dep:typos-dict"]
|
|
|
|
vars = ["dep:typos-vars"]
|
2023-03-08 11:19:20 -05:00
|
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "typos"
|
|
|
|
path = "src/bin/typos-cli/main.rs"
|
|
|
|
doc = false
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
typos = { version = "^0.10", path = "../typos" }
|
2023-10-17 14:21:10 -04:00
|
|
|
varcon-core = { version = "^4.0.2", path = "../varcon-core" }
|
2023-09-25 14:07:27 -04:00
|
|
|
typos-dict = { version = "^0.11", path = "../typos-dict", optional = true }
|
2023-03-08 11:19:20 -05:00
|
|
|
typos-vars = { version = "^0.8", path = "../typos-vars", optional = true }
|
2023-08-31 20:57:02 -04:00
|
|
|
unicase = "2.7"
|
2023-03-08 11:19:20 -05:00
|
|
|
anyhow = "1.0"
|
2023-09-30 20:34:31 -04:00
|
|
|
clap = { version = "4.4.6", features = ["derive"] }
|
2023-03-08 11:19:20 -05:00
|
|
|
clap-verbosity-flag = "2.0"
|
|
|
|
ignore = "0.4"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-10-16 13:58:00 -04:00
|
|
|
toml = "0.8.2"
|
2023-03-08 11:19:20 -05:00
|
|
|
log = "0.4"
|
|
|
|
env_logger = { version = "0.10", default-features = false, features = ["auto-color"] }
|
2023-10-16 13:58:00 -04:00
|
|
|
bstr = "1.7"
|
2023-03-08 11:19:20 -05:00
|
|
|
ahash = "0.8"
|
|
|
|
difflib = "0.4"
|
|
|
|
proc-exit = "2.0"
|
2023-09-30 20:34:31 -04:00
|
|
|
human-panic = "1.2.1"
|
2023-03-08 11:19:20 -05:00
|
|
|
content_inspector = "0.2.4"
|
|
|
|
unicode-segmentation = "1.10.1"
|
|
|
|
derive_more = "0.99.17"
|
|
|
|
derive_setters = "0.1"
|
2023-08-31 23:12:20 -04:00
|
|
|
itertools = "0.11"
|
2023-03-08 11:19:20 -05:00
|
|
|
serde_json = "1.0"
|
|
|
|
kstring = { version = "2.0.0", features = ["serde"] }
|
|
|
|
typed-arena = "2.0.2"
|
|
|
|
maplit = "1.0"
|
2023-09-30 20:34:31 -04:00
|
|
|
unicode-width = "0.1.11"
|
2023-03-08 11:19:20 -05:00
|
|
|
unic-emoji-char = "0.9.0"
|
|
|
|
thread_local = "1.1.7"
|
2023-08-31 20:57:02 -04:00
|
|
|
globset = "0.4.13"
|
2023-09-30 20:34:31 -04:00
|
|
|
anstyle = "1.0.4"
|
2023-09-30 23:29:52 -04:00
|
|
|
anstream = "0.6.4"
|
2023-09-30 20:34:31 -04:00
|
|
|
colorchoice-clap = "1.0.3"
|
2023-03-17 23:40:55 -04:00
|
|
|
serde_regex = "1.1.0"
|
2023-10-16 13:58:00 -04:00
|
|
|
regex = "1.10.2"
|
2023-08-31 20:57:02 -04:00
|
|
|
encoding_rs = "0.8.33"
|
2023-03-08 11:19:20 -05:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
assert_fs = "1.0"
|
2023-10-16 13:58:00 -04:00
|
|
|
trycmd = "0.14.19"
|
2023-05-31 20:53:02 -04:00
|
|
|
criterion = "0.5"
|
2023-10-16 13:58:00 -04:00
|
|
|
snapbox = "0.4.14"
|
2023-03-08 11:19:20 -05:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "checks"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "corrections"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "tokenize"
|
|
|
|
harness = false
|