# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.73.0" name = "decasify" version = "0.8.0" authors = ["Caleb Maclennan "] build = "build-aux/build.rs" include = ["*.rs"] autobins = false autoexamples = false autotests = false autobenches = false description = "A CLI utility and library to cast strings to title-case according to locale specific style guides including Turkish support" homepage = "https://github.com/alerque/decasify" readme = "README.md" license = "LGPL-3.0-only" repository = "https://github.com/alerque/decasify" [package.metadata.docs.rs] features = [ "luamodule", "luajit", "pythonmodule", "wasm", "unstable-trait", ] rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.git-cliff.git] protect_breaking_commits = true [[package.metadata.git-cliff.git.commit_parsers]] group = "Features" message = "^feat" [[package.metadata.git-cliff.git.commit_parsers]] group = "Bug Fixes" message = "^fix" [[package.metadata.git-cliff.git.commit_parsers]] group = "Performance" message = "^perf" [[package.metadata.git-cliff.git.commit_parsers]] message = ".*" skip = true [[package.metadata.git-cliff.git.commit_preprocessors]] pattern = ".*" replace_command = "typos --quiet --write-changes -" [package.metadata.typos.default] extend-ignore-identifiers-re = ["[bB][aA][zZ]"] locale = "en-us" [package.metadata.typos.default.extend-words] runing = "running" [package.metadata.typos.files] extend-exclude = ["/.git"] ignore-hidden = false [profile.release] lto = true [lib] name = "decasify" crate-type = [ "rlib", "cdylib", ] path = "src/lib.rs" [[bin]] name = "decasify" path = "src/bin/decasify.rs" required-features = ["cli"] [[test]] name = "cli" path = "tests/cli.rs" [[test]] name = "lib" path = "tests/lib.rs" [dependencies.clap] version = "4.5" features = [ "derive", "wrap_help", ] optional = true [dependencies.mlua] version = "0.10.0" features = ["module"] optional = true [dependencies.pyo3] version = "0.22" features = ["extension-module"] optional = true [dependencies.regex] version = "1.11" [dependencies.snafu] version = "0.8" [dependencies.strum] version = "0.26" [dependencies.strum_macros] version = "0.26" [dependencies.titlecase] version = "3.3" features = ["perf"] [dependencies.unicode_titlecase] version = "2.4" [dependencies.wasm-bindgen] version = "0.2" optional = true [dev-dependencies.assert_cmd] version = "2.0" [dev-dependencies.predicates] version = "3.1" [build-dependencies.anyhow] version = "1.0" [build-dependencies.clap] version = "4.5" features = ["derive"] optional = true [build-dependencies.clap_complete] version = "4.5" optional = true [build-dependencies.clap_mangen] version = "0.2" optional = true [build-dependencies.snafu] version = "0.8" [build-dependencies.strum] version = "0.26" [build-dependencies.strum_macros] version = "0.26" [build-dependencies.vergen-gix] version = "1.0" features = [ "build", "cargo", "rustc", ] default-features = false [features] bash = ["completions"] cli = ["dep:clap"] completions = [ "cli", "dep:clap_complete", ] default = [] elvish = ["completions"] fish = ["completions"] full = [ "cli", "bash", "elvish", "fish", "manpage", "powershell", "zsh", ] lua51 = [ "luamodule", "mlua/lua51", ] lua52 = [ "luamodule", "mlua/lua52", ] lua53 = [ "luamodule", "mlua/lua53", ] lua54 = [ "luamodule", "mlua/lua54", ] luajit = [ "luamodule", "mlua/luajit", ] luamodule = [] manpage = ["dep:clap_mangen"] powershell = ["completions"] pythonmodule = ["dep:pyo3"] unstable-trait = [] wasm = ["dep:wasm-bindgen"] zsh = ["completions"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(build)"]