lints.workspace = true
[package]
name = "gix-hash"
version = "0.15.0"
description = "Borrowed and owned git hash digests used to identify git objects"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
edition = "2021"
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.65"
[lib]
doctest = false
test = false
[features]
serde = ["dep:serde"]
[dependencies]
thiserror = "1.0.33"
faster-hex = { version = "0.9.0" }
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
document-features = { version = "0.2.0", optional = true }
[dev-dependencies]
gix-testtools = { path = "../tests/tools" }
gix-features = { path = "../gix-features", features = ["rustsha1"] }
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]