[package]
edition = "2024"
rust-version = "1.90"
name = "declutter-diff"
version = "0.1.0"
build = false
exclude = [
"docs/",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Review AI-generated diffs with comments, tests, imports, logging and formatting toggled in and out"
homepage = "https://github.com/NikolajMosbaek/declutter-diff"
readme = "README.md"
keywords = [
"diff",
"code-review",
"tree-sitter",
"tui",
"git",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/NikolajMosbaek/declutter-diff"
[lib]
name = "declutter"
path = "src/lib.rs"
[[bin]]
name = "declutter"
path = "src/main.rs"
[[example]]
name = "demo"
path = "examples/demo.rs"
[[test]]
name = "comments"
path = "tests/comments.rs"
[[test]]
name = "editor"
path = "tests/editor.rs"
[[test]]
name = "formatting"
path = "tests/formatting.rs"
[[test]]
name = "git"
path = "tests/git.rs"
[[test]]
name = "import_logging"
path = "tests/import_logging.rs"
[[test]]
name = "inline"
path = "tests/inline.rs"
[[test]]
name = "moves"
path = "tests/moves.rs"
[[test]]
name = "navigation"
path = "tests/navigation.rs"
[[test]]
name = "notes"
path = "tests/notes.rs"
[[test]]
name = "parsing"
path = "tests/parsing.rs"
[[test]]
name = "pr"
path = "tests/pr.rs"
[[test]]
name = "review_marks"
path = "tests/review_marks.rs"
[[test]]
name = "syntax"
path = "tests/syntax.rs"
[[test]]
name = "targets"
path = "tests/targets.rs"
[[test]]
name = "test_layer"
path = "tests/test_layer.rs"
[[test]]
name = "tui"
path = "tests/tui.rs"
[[test]]
name = "upload"
path = "tests/upload.rs"
[dependencies.anyhow]
version = "1.0.104"
[dependencies.ratatui]
version = "0.30.2"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.similar]
version = "3.2.0"
[dependencies.tree-sitter]
version = "0.27.0"
[dependencies.tree-sitter-highlight]
version = "0.27"
[dependencies.tree-sitter-javascript]
version = "0.25"
[dependencies.tree-sitter-python]
version = "0.25.0"
[dependencies.tree-sitter-swift]
version = "0.7.4"
[dependencies.tree-sitter-typescript]
version = "0.23.2"
[dev-dependencies.tempfile]
version = "3.27.0"