[package]
name = "gix-diff"
version = "0.34.0"
repository = "https://github.com/Byron/gitoxide"
license = "MIT OR Apache-2.0"
description = "Calculate differences between various git objects"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
edition = "2021"
include = ["src/**/*", "LICENSE-*", "CHANGELOG.md"]
rust-version = "1.65"
autotests = false
[features]
default = ["blob"]
blob = ["dep:imara-diff"]
serde = ["dep:serde", "gix-hash/serde", "gix-object/serde"]
wasm = ["dep:getrandom"]
[lib]
doctest = false
[dependencies]
gix-hash = { version = "^0.12.0", path = "../gix-hash" }
gix-object = { version = "^0.35.0", path = "../gix-object" }
thiserror = "1.0.32"
imara-diff = { version = "0.1.3", optional = true }
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"]}
getrandom = { version = "0.2.8", optional = true, default-features = false, features = ["js"] }
document-features = { version = "0.2.0", optional = true }
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]
rustdoc-args = ["--cfg", "docsrs"]