[package]
edition = "2024"
rust-version = "1.90"
name = "diffler"
version = "0.20.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone magit-style git TUI and code reviewer, on its own or with your coding agent"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/matheusfillipe/diffler"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }"
pkg-fmt = "tgz"
bin-dir = "{ name }-v{ version }-{ target }/{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"
[lib]
name = "diffler"
path = "src/lib.rs"
[[bin]]
name = "diffler"
path = "src/main.rs"
[[test]]
name = "config_layering"
path = "tests/config_layering.rs"
[[test]]
name = "mcp_server"
path = "tests/mcp_server.rs"
[[test]]
name = "no_repo"
path = "tests/no_repo.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.color-eyre]
version = "0.6"
[dependencies.crossterm]
version = "0.29"
features = ["event-stream"]
[dependencies.diffler-core]
version = "0.20.0"
[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false
[dependencies.image]
version = "0.25"
features = [
"png",
"jpeg",
"gif",
"webp",
]
default-features = false
[dependencies.notify]
version = "8.2"
[dependencies.notify-debouncer-full]
version = "0.7"
[dependencies.nucleo-matcher]
version = "0.3"
[dependencies.pulldown-cmark]
version = "0.13"
default-features = false
[dependencies.ratatui]
version = "0.30"
[dependencies.ratatui-image]
version = "=12.0.0-rc.0"
features = ["crossterm"]
default-features = false
[dependencies.rmcp]
version = "3"
features = [
"server",
"transport-streamable-http-server",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_ignored]
version = "0.1"
[dependencies.serde_json]
version = "1"
[dependencies.serde_norway]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1.52"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"process",
"net",
]
[dependencies.toml]
version = "1"
[dependencies.unicode-width]
version = "0.2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.diffler-core]
version = "0.20.0"
features = ["test-support"]
[dev-dependencies.git2]
version = "0.21"
features = ["vendored-libgit2"]
default-features = false
[dev-dependencies.insta]
version = "1.47"
[dev-dependencies.rmcp]
version = "3"
features = [
"server",
"transport-streamable-http-server",
"client",
"transport-streamable-http-client-reqwest",
]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.52"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"process",
"net",
"test-util",
]
[lints.clippy]
assert_is_empty = "allow"
cast_possible_truncation = "allow"
cognitive_complexity = "warn"
dbg_macro = "deny"
expect_used = "warn"
indexing_slicing = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "warn"
print_stdout = "deny"
todo = "deny"
unimplemented = "deny"
unused_async_trait_impl = "allow"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unknown_lints]
level = "allow"
priority = -2