# SPDX-FileCopyrightText: 2021 - 2023 Robin Vobruba # # SPDX-License-Identifier: Unlicense [package] name = "repvar" version = "0.13.2" license = "AGPL-3.0-or-later" authors = ["Robin Vobruba "] description = """ A tiny CLI tool that replaces variables of the style `${KEY}` in text with their respective value. It can also be used as a rust library. """ repository = "https://github.com/hoijui/repvar" homepage = "https://github.com/hoijui/repvar" keywords = ["cli", "utility", "variables", "replace"] categories = ["command-line-utilities", "text-processing"] readme = "README.md" edition = "2021" [lints.rust] rust_2021_compatibility = { level = "warn", priority = -1 } [lints.clippy] all = { level = "deny", priority = -1 } pedantic = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 } cargo = { level = "warn", priority = -1 } wildcard_enum_match_arm = "warn" string_slice = "warn" indexing_slicing = "warn" clone_on_ref_ptr = "warn" try_err = "warn" shadow_reuse = "warn" empty_structs_with_brackets = "warn" else_if_without_else = "warn" use_debug = "warn" print_stdout = "warn" print_stderr = "warn" [dependencies] clap = { version = "4.4", features = ["cargo"] } cli_utils = { version = "0.7", package = "cli_utils_hoijui" } const_format = "0.2" dotenvy = "0.15" env_logger = { version = "0.11", default-features = false } git-version = "0.3" lazy_static = "1.4" log = "0.4" regex = "1.10" thiserror = "1.0" typed-builder = "0.18" [dev-dependencies] assert_cmd = "2.0" predicates = "3.0" tempfile = "3.8"