-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
135 lines (112 loc) · 2.97 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[package]
name = "decasify"
version = "0.8.0"
authors = ["Caleb Maclennan <[email protected]>"]
edition = "2021"
rust-version = "1.73.0"
description = "A CLI utility and library to cast strings to title-case according to locale specific style guides including Turkish support"
readme = "README.md"
homepage = "https://github.com/alerque/decasify"
repository = "https://github.com/alerque/decasify"
license = "LGPL-3.0-only"
build = "build-aux/build.rs"
include = ["*.rs"]
[[bin]]
name = "decasify"
required-features = ["cli"]
[lib]
name = "decasify"
crate-type = ["rlib", "cdylib"]
[profile.release]
lto = true
[features]
default = []
full = ["cli", "bash", "elvish", "fish", "manpage", "powershell", "zsh"]
completions = ["cli", "dep:clap_complete"]
cli = ["dep:clap"]
bash = ["completions"]
elvish = ["completions"]
fish = ["completions"]
manpage = ["dep:clap_mangen"]
powershell = ["completions"]
zsh = ["completions"]
luamodule = []
lua54 = ["luamodule", "mlua/lua54"]
lua53 = ["luamodule", "mlua/lua53"]
lua52 = ["luamodule", "mlua/lua52"]
lua51 = ["luamodule", "mlua/lua51"]
luajit = ["luamodule", "mlua/luajit"]
pythonmodule = ["dep:pyo3"]
unstable-trait = []
wasm = ["dep:wasm-bindgen"]
[dependencies]
regex = "1.11"
snafu = "0.8"
strum = "0.26"
strum_macros = "0.26"
unicode_titlecase = "2.4"
[dependencies.clap]
version = "4.5"
optional = true
features = ["derive", "wrap_help"]
[dependencies.mlua]
version = "0.10.0"
optional = true
features = ["module"]
[dependencies.pyo3]
version = "0.22"
optional = true
features = ["extension-module"]
[dependencies.titlecase]
version = "3.3"
features = ["perf"]
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[build-dependencies]
snafu = "0.8"
strum = "0.26"
strum_macros = "0.26"
[build-dependencies.clap_complete]
version = "4.5"
optional = true
[build-dependencies.clap_mangen]
version = "0.2"
optional = true
[build-dependencies.clap]
version = "4.5"
optional = true
features = ["derive"]
[build-dependencies.anyhow]
version = "1.0"
[build-dependencies.vergen-gix]
version = "1.0"
default-features = false
features = ["build", "cargo", "rustc"]
[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.1"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build)'] }
[package.metadata.docs.rs]
features = ["luamodule", "luajit", "pythonmodule", "wasm", "unstable-trait"]
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.git-cliff.git]
protect_breaking_commits = true
commit_parsers = [
{ message = "^feat", group = "<!-- 0 -->Features" },
{ message = "^fix", group = "<!-- 1 -->Bug Fixes" },
{ message = "^perf", group = "<!-- 2 -->Performance" },
{ message = ".*", skip = true },
]
commit_preprocessors = [
{ pattern = '.*', replace_command = 'typos --quiet --write-changes -' },
]
[package.metadata.typos.default]
locale = "en-us"
extend-ignore-identifiers-re = ["[bB][aA][zZ]"]
[package.metadata.typos.default.extend-words]
runing = "running"
[package.metadata.typos.files]
ignore-hidden = false
extend-exclude = ["/.git"]