[[bin]]
name = "repvar"
path = "src/main.rs"
[dependencies.clap]
features = ["cargo", "derive"]
version = "4.5"
[dependencies.cli_utils]
features = ["logging"]
package = "cli_utils_hoijui"
version = "0.10"
[dependencies.const_format]
version = "0.2"
[dependencies.dotenvy]
version = "0.15"
[dependencies.env_logger]
default-features = false
version = "0.11"
[dependencies.git-version]
version = "0.3"
[dependencies.regex]
version = "1.11"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dependencies.typed-builder]
version = "0.21"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.tempfile]
version = "3.8"
[features]
flush_to_env = []
[lib]
name = "repvar"
path = "src/lib.rs"
[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_2021_compatibility]
level = "warn"
priority = -1
[package]
authors = ["Robin Vobruba <hoijui.quaero@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "text-processing"]
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.
"""
edition = "2021"
homepage = "https://github.com/hoijui/repvar"
keywords = ["cli", "utility", "variables", "replace"]
license = "AGPL-3.0-or-later"
name = "repvar"
readme = "README.md"
repository = "https://github.com/hoijui/repvar"
version = "0.14.2"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cli_api"
path = "tests/cli_api.rs"