[package]
edition = "2024"
rust-version = "1.98.0"
name = "clankerdiff-git"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Git repository integration for diff review"
readme = false
license = "MIT"
repository = "https://github.com/contextbridge/diff"
[features]
test-support = ["dep:tempfile"]
[lib]
name = "clankerdiff_git"
path = "src/lib.rs"
[[example]]
name = "snapshot_json"
path = "examples/snapshot_json.rs"
[[test]]
name = "git_contract"
path = "tests/git_contract.rs"
[dependencies.clankerdiff-core]
version = "0.1.1"
[dependencies.tempfile]
version = "3.21.0"
optional = true
[dependencies.thiserror]
version = "2.0.20"
[dependencies.tokio]
version = "1.47.1"
features = [
"fs",
"process",
"rt-multi-thread",
"io-util",
"macros",
"time",
]
[dev-dependencies.serde_json]
version = "1.0.151"
[dev-dependencies.tempfile]
version = "3.21.0"
[dev-dependencies.tokio]
version = "1.47.1"
features = [
"fs",
"process",
"rt-multi-thread",
"macros",
"rt-multi-thread",
"time",
]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 0
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 0
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"