mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-23 08:02:15 -05:00
17f9d18573
chore(deps): update rust crate itertools to 0.12
96 lines
2.8 KiB
TOML
96 lines
2.8 KiB
TOML
[package]
|
|
name = "typos-cli"
|
|
version = "1.16.23"
|
|
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},
|
|
{file="../../action/entrypoint.sh", search="VERSION=.*", replace="VERSION={{version}}", min=1},
|
|
{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"]
|
|
dict = ["dep:typos-dict"]
|
|
vars = ["dep:typos-vars"]
|
|
|
|
|
|
[[bin]]
|
|
name = "typos"
|
|
path = "src/bin/typos-cli/main.rs"
|
|
doc = false
|
|
|
|
[dependencies]
|
|
typos = { version = "^0.10", path = "../typos" }
|
|
varcon-core = { version = "^4.0.2", path = "../varcon-core" }
|
|
typos-dict = { version = "^0.11", path = "../typos-dict", optional = true }
|
|
typos-vars = { version = "^0.8", path = "../typos-vars", optional = true }
|
|
unicase = "2.7"
|
|
anyhow = "1.0"
|
|
clap = { version = "4.4.10", features = ["derive"] }
|
|
clap-verbosity-flag = "2.1"
|
|
ignore = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
toml = "0.8.8"
|
|
log = "0.4"
|
|
env_logger = { version = "0.10", default-features = false, features = ["auto-color"] }
|
|
bstr = "1.8"
|
|
ahash = "0.8"
|
|
difflib = "0.4"
|
|
proc-exit = "2.0"
|
|
human-panic = "1.2.2"
|
|
content_inspector = "0.2.4"
|
|
unicode-segmentation = "1.10.1"
|
|
derive_more = "0.99.17"
|
|
derive_setters = "0.1"
|
|
itertools = "0.12"
|
|
serde_json = "1.0"
|
|
kstring = { version = "2.0.0", features = ["serde"] }
|
|
typed-arena = "2.0.2"
|
|
maplit = "1.0"
|
|
unicode-width = "0.1.11"
|
|
unic-emoji-char = "0.9.0"
|
|
thread_local = "1.1.7"
|
|
globset = "0.4.14"
|
|
anstyle = "1.0.4"
|
|
anstream = "0.6.4"
|
|
colorchoice-clap = "1.0.3"
|
|
serde_regex = "1.1.0"
|
|
regex = "1.10.2"
|
|
encoding_rs = "0.8.33"
|
|
|
|
[dev-dependencies]
|
|
assert_fs = "1.0"
|
|
trycmd = "0.14.19"
|
|
criterion = "0.5"
|
|
snapbox = "0.4.14"
|
|
|
|
[[bench]]
|
|
name = "checks"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "corrections"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "tokenize"
|
|
harness = false
|