typos/Cargo.toml

109 lines
3 KiB
TOML
Raw Normal View History

[workspace]
2019-10-28 12:01:22 -04:00
members = [
"crates/typos",
"crates/typos-dict", "crates/typos-dict/codegen", "crates/typos-dict/verify",
"crates/typos-vars", "crates/typos-vars/codegen",
"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-01-22 17:01:33 -05:00
[package]
name = "typos-cli"
2021-06-07 09:04:04 -04:00
version = "1.0.6"
2019-01-22 17:01:33 -05:00
authors = ["Ed Page <eopage@gmail.com>"]
description = "Source Code Spelling Correction"
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"]
license = "MIT"
edition = "2018"
[features]
default = ["dict", "vars"]
dict = ["typos-dict"]
vars = ["typos-vars"]
[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},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD", exactly=1},
{file="docker/Dockerfile", search="ARG VERSION=.*", replace="ARG VERSION={{version}}", min=1},
2021-04-13 22:31:13 -04:00
]
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
[badges]
2019-10-25 09:49:41 -04:00
azure-devops = { project = "crate-ci", pipeline = "typos" }
codecov = { repository = "crate-ci/typos" }
2019-01-22 17:01:33 -05:00
[dependencies]
2021-05-21 21:41:02 -04:00
typos = { version = "^0.6", path = "crates/typos" }
2021-05-21 21:39:12 -04:00
varcon-core = { version = "^2.0.0", path = "crates/varcon-core" }
2021-05-21 21:41:02 -04:00
typos-dict = { version = "^0.5", path = "crates/typos-dict", optional = true }
2021-06-05 15:39:37 -04:00
typos-vars = { version = "^0.6", path = "crates/typos-vars", optional = true }
phf = { version = "0.8", features = ["unicase"] }
unicase = "2.5"
2019-10-29 13:36:50 -04:00
anyhow = "1.0"
2019-10-17 22:49:26 -04:00
structopt = "0.3"
2019-01-23 09:33:51 -05:00
clap = "2"
2019-10-17 22:49:26 -04:00
clap-verbosity-flag = "0.3"
2019-01-22 17:01:33 -05:00
ignore = "0.4"
serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
2019-07-19 23:45:41 -04:00
log = "0.4"
env_logger = { version = "0.8", default-features = false, features = ["termcolor"] }
atty = "0.2.14"
yansi = "0.5.0"
bstr = "0.2"
once_cell = "1.2.0"
2021-02-04 22:40:07 -05:00
ahash = "0.7"
2020-11-11 19:19:26 -05:00
difflib = "0.4"
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"
unicode-segmentation = "1.6.0"
derive_more = "0.99.11"
derive_setters = "0.1"
itertools = "0.10"
2020-12-30 20:41:08 -05:00
serde_json = "1.0"
encoding = "0.2"
kstring = "1.0"
typed-arena = "2.0.1"
2019-01-22 17:01:33 -05:00
[dev-dependencies]
assert_fs = "1.0"
assert_cmd = "1.0"
predicates = "1.0"
2021-02-05 22:38:44 -05:00
criterion = "0.3"
maplit = "1.0"
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