[package]
edition = "2024"
name = "repvar"
version = "0.14.4"
authors = ["Robin Vobruba <hoijui.quaero@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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.
"""
homepage = "https://github.com/hoijui/repvar"
readme = "README.md"
keywords = [
"cli",
"utility",
"variables",
"replace",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/hoijui/repvar"
[features]
flush_to_env = []
[lib]
name = "repvar"
path = "src/lib.rs"
[[bin]]
name = "repvar"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cli_api"
path = "tests/cli_api.rs"
[dependencies.clap]
version = "4.6"
features = [
"cargo",
"derive",
]
[dependencies.cli_utils]
version = "0.13"
features = ["logging"]
package = "cli_utils_hoijui"
[dependencies.const_format]
version = "0.2"
[dependencies.dotenvy]
version = "0.15"
[dependencies.env_logger]
version = "0.11"
default-features = false
[dependencies.git-version]
version = "0.3"
[dependencies.regex]
version = "1.13"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dependencies.typed-builder]
version = "0.23"
[dev-dependencies.assert_cmd]
version = "2.2"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.27"
[lints.clippy]
clone_on_ref_ptr = "warn"
else_if_without_else = "warn"
empty_structs_with_brackets = "warn"
indexing_slicing = "warn"
print_stderr = "warn"
print_stdout = "warn"
shadow_reuse = "warn"
string_slice = "warn"
try_err = "warn"
use_debug = "warn"
wildcard_enum_match_arm = "warn"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1