typos/crates/typos-cli/Cargo.toml

101 lines
2.9 KiB
TOML
Raw Normal View History

[package]
name = "typos-cli"
2024-11-26 12:15:30 -05:00
version = "1.28.1"
description = "Source Code Spelling Correction"
readme = "../../README.md"
categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"]
repository.workspace = true
2024-07-26 17:07:19 -04:00
license.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs]
2024-04-26 22:14:01 -04:00
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[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"]
2023-07-14 13:33:02 -04:00
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" }
2024-08-23 14:56:02 -04:00
varcon-core = { version = "^5.0.0", path = "../varcon-core" }
2023-09-25 14:07:27 -04:00
typos-dict = { version = "^0.11", path = "../typos-dict", optional = true }
typos-vars = { version = "^0.8", path = "../typos-vars", optional = true }
2023-08-31 20:57:02 -04:00
unicase = "2.7"
anyhow = "1.0"
2024-03-31 20:54:46 -04:00
clap = { version = "4.5.4", features = ["derive"] }
2024-02-29 20:43:17 -05:00
clap-verbosity-flag = "2.2"
ignore = "0.4"
serde = { version = "1.0", features = ["derive"] }
2024-03-31 20:54:46 -04:00
toml = "0.8.12"
log = "0.4"
env_logger = { version = "0.11", default-features = false, features = ["auto-color"] }
2023-12-31 20:35:45 -05:00
bstr = "1.9"
ahash = "0.8"
difflib = "0.4"
proc-exit = "2.0"
human-panic = "2.0.0"
content_inspector = "0.2.4"
2024-02-29 20:43:17 -05:00
unicode-segmentation = "1.11.0"
derive_more = { version = "1.0", features = ["from", "display"] }
derive_setters = "0.1"
itertools = "0.13"
serde_json = "1.0"
kstring = { version = "2.0.0", features = ["serde"] }
typed-arena = "2.0.2"
maplit = "1.0"
unicode-width = "0.2.0"
unic-emoji-char = "0.9.0"
2024-02-29 20:43:17 -05:00
thread_local = "1.1.8"
2023-11-30 19:23:45 -05:00
globset = "0.4.14"
2024-02-29 20:43:17 -05:00
anstyle = "1.0.6"
anstream = "0.6.13"
2023-09-30 20:34:31 -04:00
colorchoice-clap = "1.0.3"
serde_regex = "1.1.0"
2024-03-31 20:54:46 -04:00
regex = "1.10.4"
chore(deps): Update compatible (#1009) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [encoding_rs](https://docs.rs/encoding_rs/) ([source](https://togithub.com/hsivonen/encoding_rs)) | dependencies | patch | `0.8.33` -> `0.8.34` | | [trycmd](https://togithub.com/assert-rs/trycmd) | dev-dependencies | patch | `0.15.0` -> `0.15.1` | | [unicode-width](https://togithub.com/unicode-rs/unicode-width) | dependencies | patch | `0.1.11` -> `0.1.12` | | [winnow](https://togithub.com/winnow-rs/winnow) | dependencies | patch | `0.6.5` -> `0.6.7` | --- ### Release Notes <details> <summary>hsivonen/encoding_rs (encoding_rs)</summary> ### [`v0.8.34`](https://togithub.com/hsivonen/encoding_rs/compare/v0.8.33...v0.8.34) [Compare Source](https://togithub.com/hsivonen/encoding_rs/compare/v0.8.33...v0.8.34) </details> <details> <summary>assert-rs/trycmd (trycmd)</summary> ### [`v0.15.1`](https://togithub.com/assert-rs/trycmd/compare/v0.15.0...v0.15.1) [Compare Source](https://togithub.com/assert-rs/trycmd/compare/v0.15.0...v0.15.1) </details> <details> <summary>unicode-rs/unicode-width (unicode-width)</summary> ### [`v0.1.12`](https://togithub.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12) [Compare Source](https://togithub.com/unicode-rs/unicode-width/compare/v0.1.11...v0.1.12) </details> <details> <summary>winnow-rs/winnow (winnow)</summary> ### [`v0.6.7`](https://togithub.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#067---2024-04-26) [Compare Source](https://togithub.com/winnow-rs/winnow/compare/v0.6.6...v0.6.7) ##### Fixes - Improve debug traces when Input wrapper types are used ### [`v0.6.6`](https://togithub.com/winnow-rs/winnow/blob/HEAD/CHANGELOG.md#066---2024-04-11) [Compare Source](https://togithub.com/winnow-rs/winnow/compare/v0.6.5...v0.6.6) ##### Fixes - Add impl `ErrorConvert` for `ContextError` so it can be used with bit parsing </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/crate-ci/typos). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 21:02:14 -04:00
encoding_rs = "0.8.34"
[dev-dependencies]
2023-12-31 20:35:45 -05:00
assert_fs = "1.1"
2024-02-29 20:43:17 -05:00
divan = "0.1.14"
2024-05-27 23:11:47 -04:00
snapbox = "0.6.5"
2024-05-27 23:04:19 -04:00
trycmd = "0.15.4"
[[bench]]
2024-02-07 14:21:10 -05:00
name = "check_file"
harness = false
[[bench]]
2024-02-07 14:21:10 -05:00
name = "correct_word"
harness = false
[[bench]]
name = "tokenize"
harness = false
2024-04-26 22:14:01 -04:00
[lints]
workspace = true