[package] name = "decasify" version = "0.8.0" authors = ["Caleb Maclennan "] 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"] [lib] name = "decasify" crate-type = ["rlib", "cdylib"] [[bin]] name = "decasify" required-features = ["cli"] [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"] [profile.release] lto = true [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 = "Features" }, { message = "^fix", group = "Bug Fixes" }, { message = "^perf", group = "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"]