2019-08-08 11:04:51 -04:00
|
|
|
[workspace]
|
2019-10-28 12:01:22 -04:00
|
|
|
members = [
|
2020-05-18 20:58:38 -04:00
|
|
|
"crates/typos",
|
2020-05-27 21:46:41 -04:00
|
|
|
"crates/typos-dict", "crates/typos-dict/codegen", "crates/typos-dict/verify",
|
|
|
|
"crates/typos-vars", "crates/typos-vars/codegen",
|
2021-06-30 11:12:17 -04:00
|
|
|
"crates/dictgen",
|
2020-05-18 20:58:38 -04:00
|
|
|
"crates/codespell-dict", "crates/codespell-dict/codegen",
|
|
|
|
"crates/misspell-dict", "crates/misspell-dict/codegen",
|
|
|
|
"crates/wikipedia-dict", "crates/wikipedia-dict/codegen",
|
2020-05-27 21:51:04 -04:00
|
|
|
"crates/varcon", "crates/varcon/codegen", "crates/varcon-core",
|
2019-10-28 12:01:22 -04:00
|
|
|
]
|
2019-08-08 11:04:51 -04:00
|
|
|
|
2019-01-22 17:01:33 -05:00
|
|
|
[package]
|
2019-08-08 11:04:51 -04:00
|
|
|
name = "typos-cli"
|
2022-07-22 12:09:08 -04:00
|
|
|
version = "1.10.3"
|
2019-01-22 17:01:33 -05:00
|
|
|
description = "Source Code Spelling Correction"
|
2021-08-16 12:23:25 -04:00
|
|
|
authors = ["Ed Page <eopage@gmail.com>"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2019-10-25 11:58:24 -04:00
|
|
|
repository = "https://github.com/crate-ci/typos"
|
2019-01-22 17:01:33 -05:00
|
|
|
readme = "README.md"
|
|
|
|
categories = ["development-tools", "text-processing"]
|
|
|
|
keywords = ["development", "spelling"]
|
2022-06-01 07:53:10 -04:00
|
|
|
edition = "2021"
|
2022-06-01 07:50:26 -04:00
|
|
|
rust-version = "1.59.0" # MSRV
|
2021-11-08 11:11:02 -05:00
|
|
|
include = [
|
|
|
|
"src/**/*",
|
|
|
|
"Cargo.toml",
|
2022-03-11 10:56:29 -05:00
|
|
|
"Cargo.lock",
|
2021-11-08 11:11:02 -05:00
|
|
|
"LICENSE*",
|
|
|
|
"README.md",
|
2021-11-15 09:22:11 -05:00
|
|
|
"benches/**/*",
|
2021-11-08 11:11:02 -05:00
|
|
|
"examples/**/*"
|
|
|
|
]
|
2019-01-22 17:01:33 -05:00
|
|
|
|
2021-04-30 22:31:20 -04:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
no-default-features = true
|
|
|
|
|
2021-04-13 22:31:13 -04:00
|
|
|
[package.metadata.release]
|
|
|
|
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},
|
2021-07-30 13:08:41 -04:00
|
|
|
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/crate-ci/typos/compare/{{tag_name}}...HEAD", exactly=1},
|
2021-05-31 20:42:45 -04:00
|
|
|
{file="docker/Dockerfile", search="ARG VERSION=.*", replace="ARG VERSION={{version}}", min=1},
|
2021-06-09 10:53:47 -04:00
|
|
|
{file="docs/pre-commit.md", search="rev: .*", replace="rev: {{tag_name}}", exactly=1},
|
2021-06-28 13:54:48 -04:00
|
|
|
{file="setup.py", search="TYPOS_VERSION = .*", replace="TYPOS_VERSION = '{{version}}'", exactly=1},
|
2021-04-13 22:31:13 -04:00
|
|
|
]
|
|
|
|
|
2021-08-16 12:23:25 -04:00
|
|
|
[features]
|
|
|
|
default = ["dict", "vars"]
|
|
|
|
dict = ["typos-dict"]
|
|
|
|
vars = ["typos-vars"]
|
|
|
|
|
|
|
|
|
2019-10-24 22:11:13 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "typos"
|
2021-05-04 22:47:34 -04:00
|
|
|
path = "src/bin/typos-cli/main.rs"
|
2019-10-24 22:11:13 -04:00
|
|
|
doc = false
|
|
|
|
|
2019-01-22 17:01:33 -05:00
|
|
|
[dependencies]
|
2022-05-10 15:24:11 -04:00
|
|
|
typos = { version = "^0.10", path = "crates/typos" }
|
2021-05-21 21:39:12 -04:00
|
|
|
varcon-core = { version = "^2.0.0", path = "crates/varcon-core" }
|
2022-02-08 08:12:19 -05:00
|
|
|
typos-dict = { version = "^0.8", path = "crates/typos-dict", optional = true }
|
2021-11-16 08:46:33 -05:00
|
|
|
typos-vars = { version = "^0.8", path = "crates/typos-vars", optional = true }
|
2019-10-28 12:31:16 -04:00
|
|
|
unicase = "2.5"
|
2019-10-29 13:36:50 -04:00
|
|
|
anyhow = "1.0"
|
2022-07-01 03:04:47 -04:00
|
|
|
clap = "3.2"
|
2022-03-01 09:40:15 -05:00
|
|
|
clap-verbosity-flag = "1.0"
|
2019-01-22 17:01:33 -05:00
|
|
|
ignore = "0.4"
|
2019-08-07 09:16:22 -04:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-04-01 03:02:31 -04:00
|
|
|
toml_edit = { version = "0.14.2", features = ["easy"] }
|
2019-07-19 23:45:41 -04:00
|
|
|
log = "0.4"
|
2021-08-01 03:05:08 -04:00
|
|
|
env_logger = { version = "0.9", default-features = false, features = ["termcolor"] }
|
2021-05-03 19:16:39 -04:00
|
|
|
atty = "0.2.14"
|
2022-04-01 10:36:18 -04:00
|
|
|
yansi = "0.5.1"
|
2022-01-11 16:55:20 -05:00
|
|
|
concolor = { version = "0.0.8" }
|
2022-03-29 15:42:12 -04:00
|
|
|
concolor-clap = { version = "0.0.10", features = ["api_unstable"] }
|
2020-03-24 07:11:31 -04:00
|
|
|
bstr = "0.2"
|
2022-04-01 03:02:26 -04:00
|
|
|
once_cell = "1.10.0"
|
2021-02-04 22:40:07 -05:00
|
|
|
ahash = "0.7"
|
2020-11-11 19:19:26 -05:00
|
|
|
difflib = "0.4"
|
2020-12-01 09:26:05 -05:00
|
|
|
proc-exit = "1.0"
|
2020-11-23 13:40:55 -05:00
|
|
|
human-panic = "1.0.3"
|
2020-12-30 20:41:08 -05:00
|
|
|
content_inspector = "0.2.4"
|
2022-03-01 02:03:33 -05:00
|
|
|
unicode-segmentation = "1.9.0"
|
2021-12-01 02:02:57 -05:00
|
|
|
derive_more = "0.99.17"
|
2020-12-30 20:41:08 -05:00
|
|
|
derive_setters = "0.1"
|
2021-01-02 22:40:45 -05:00
|
|
|
itertools = "0.10"
|
2020-12-30 20:41:08 -05:00
|
|
|
serde_json = "1.0"
|
2020-11-03 20:52:39 -05:00
|
|
|
encoding = "0.2"
|
2022-03-29 15:42:12 -04:00
|
|
|
kstring = { version = "2.0.0", features = ["serde"] }
|
2021-02-12 19:43:12 -05:00
|
|
|
typed-arena = "2.0.1"
|
2021-10-23 09:58:13 -04:00
|
|
|
maplit = "1.0"
|
2022-04-24 22:43:42 -04:00
|
|
|
unicode-width = "0.1.9"
|
2022-04-26 23:05:29 -04:00
|
|
|
unic-emoji-char = "0.9.0"
|
2022-06-15 16:40:49 -04:00
|
|
|
thread_local = "1.1.4"
|
|
|
|
globset = "0.4.9"
|
2019-01-22 17:01:33 -05:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-04-01 09:17:03 -04:00
|
|
|
assert_fs = "1.0"
|
2022-03-29 15:42:12 -04:00
|
|
|
trycmd = "0.13.3"
|
2021-02-05 22:38:44 -05:00
|
|
|
criterion = "0.3"
|
2020-11-23 13:40:55 -05:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort"
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
2021-02-05 22:38:44 -05:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "checks"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "corrections"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "tokenize"
|
|
|
|
harness = false
|