lints.workspace = true
[package]
name = "gix-object"
version = "0.46.0"
description = "Immutable and mutable git objects with decoding and encoding support"
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
[[bench]]
name = "decode-objects"
harness = false
path = "./benches/decode_objects.rs"
[[bench]]
name = "edit-tree"
harness = false
path = "./benches/edit_tree.rs"
[features]
serde = [
"dep:serde",
"bstr/serde",
"smallvec/serde",
"gix-hash/serde",
"gix-actor/serde",
]
verbose-object-parsing-errors = ["winnow/std"]
[dependencies]
gix-features = { version = "^0.39.1", path = "../gix-features", features = [
"rustsha1",
"progress",
] }
gix-hash = { version = "^0.15.1", path = "../gix-hash" }
gix-hashtable = { version = "^0.6.0", path = "../gix-hashtable" }
gix-validate = { version = "^0.9.2", path = "../gix-validate" }
gix-actor = { version = "^0.33.1", path = "../gix-actor" }
gix-date = { version = "^0.9.2", path = "../gix-date" }
gix-utils = { version = "^0.1.13", path = "../gix-utils" }
itoa = "1.0.1"
thiserror = "2.0.0"
bstr = { version = "1.3.0", default-features = false, features = [
"std",
"unicode",
] }
winnow = { version = "0.6.18", features = ["simd"] }
smallvec = { version = "1.4.0", features = ["write"] }
serde = { version = "1.0.114", optional = true, default-features = false, features = [
"derive",
] }
document-features = { version = "0.2.0", optional = true }
[dev-dependencies]
criterion = "0.5.1"
pretty_assertions = "1.0.0"
gix-testtools = { path = "../tests/tools" }
gix-odb = { path = "../gix-odb" }
termtree = "0.5.1"
[package.metadata.docs.rs]
all-features = true
features = ["document-features"]