[package]
edition = "2024"
name = "injm"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI tool that injects content into marked regions in source files."
homepage = "https://github.com/FovirDev/injm"
readme = "README.md"
keywords = [
"cli",
"inject",
"code",
"marker",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/FovirDev/injm"
[lib]
name = "injm"
path = "src/lib.rs"
[[bin]]
name = "injm"
path = "src/main.rs"
[[test]]
name = "check"
path = "tests/check.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "exclude"
path = "tests/exclude.rs"
[[test]]
name = "gitignore"
path = "tests/gitignore.rs"
[[test]]
name = "inject"
path = "tests/inject.rs"
[[test]]
name = "list"
path = "tests/list.rs"
[[test]]
name = "markdown"
path = "tests/markdown.rs"
[[test]]
name = "marker_config"
path = "tests/marker_config.rs"
[[test]]
name = "root"
path = "tests/root.rs"
[[bench]]
name = "injm_bench"
path = "benches/injm_bench.rs"
harness = false
[dependencies.anyhow]
version = "1.0.103"
[dependencies.clap]
version = "4.6.1"
features = ["derive"]
[dependencies.glob]
version = "0.3.3"
[dependencies.ignore]
version = "0.4.31"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.similar]
version = "3.1.1"
[dependencies.tabled]
version = "0.21.0"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.toml]
version = "1.1.3"
[dependencies.tree-sitter-language-pack]
version = "1.12.0"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.tempfile]
version = "3.27.0"
[lints.clippy]
multiple_crate_versions = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true