[package]
edition = "2024"
rust-version = "1.95"
name = "patchloom"
version = "0.1.4"
authors = ["Sebastien Tardif"]
build = false
exclude = [
"benches/",
"tests/agent/",
"demo/",
"assets/",
"docs/",
".github/",
"REPO-SETUP.md",
"MAINTAINERS.md",
"AGENTS.md",
"CLAUDE.md",
"GEMINI.md",
"Makefile",
"dist-workspace.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust CLI for agent-grade repo operations"
homepage = "https://github.com/patchloom/patchloom"
documentation = "https://github.com/patchloom/patchloom"
readme = "README.md"
keywords = [
"cli",
"agents",
"patch",
"markdown",
"config",
]
categories = [
"command-line-utilities",
"development-tools",
"config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/patchloom/patchloom"
[package.metadata.docs.rs]
targets = []
[features]
default = ["mcp"]
mcp = [
"rmcp",
"tokio",
"schemars",
]
[lib]
name = "patchloom"
path = "src/lib.rs"
[[bin]]
name = "patchloom"
path = "src/main.rs"
[[test]]
name = "bench_mcp"
path = "tests/bench_mcp.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.anstream]
version = "1"
[dependencies.anstyle]
version = "1"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.ec4rs]
version = "1"
[dependencies.globset]
version = "0.4"
[dependencies.ignore]
version = "0.4"
[dependencies.memchr]
version = "2"
[dependencies.regex]
version = "1"
[dependencies.rmcp]
version = "1"
features = [
"server",
"transport-io",
"macros",
]
optional = true
[dependencies.schemars]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.serde_yaml_ng]
version = "0.10"
[dependencies.similar]
version = "3"
features = ["text"]
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"io-util",
"io-std",
"macros",
]
optional = true
[dependencies.toml_edit]
version = "0.25"
features = ["serde"]
[dependencies.yaml-edit]
version = "0.2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rmcp]
version = "1"
features = [
"client",
"transport-io",
"transport-child-process",
]
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[lints.clippy]
cloned_instead_of_copied = "warn"
implicit_clone = "warn"
manual_string_new = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
[lints.rust]
unsafe_code = "deny"
[profile.dist]
inherits = "release"
[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true