Files
sausage/userland/git/vendor/gix-index/Cargo.toml.orig
T
surma 4b27e9afd5 userland/git: git-compatible CLI on v2's gix code (T10)
Local workflow, smart-HTTP clone/fetch/push and public HTTPS clone/fetch match
native git in stdout and exit codes. Only WASI imports (wasi:http, exit-with-code).
2026-11-06 16:07:57 +00:00

79 lines
2.5 KiB
TOML

lints.workspace = true
[package]
name = "gix-index"
version = "0.58.0"
repository = "https://github.com/GitoxideLabs/gitoxide"
license = "MIT OR Apache-2.0"
description = "A work-in-progress crate of the gitoxide project dedicated implementing the git index file"
authors = ["Sebastian Thiel <sebastian.thiel@icloud.com>"]
edition = "2024"
include = ["/src/**/*", "/LICENSE-*", "/README.md"]
rust-version = "1.88"
[lib]
doctest = false
test = true
[[bench]]
name = "from-tree"
harness = false
path = "./benches/from_tree.rs"
[features]
## Enable support for the SHA-1 hash by enabling the respective feature in the `gix-hash` crate.
sha1 = ["gix-hash/sha1"]
## Enable support for the SHA-256 hash by enabling the respective feature in the `gix-hash` crate.
sha256 = ["gix-hash/sha256"]
## Data structures implement `serde::Serialize` and `serde::Deserialize`.
serde = ["dep:serde", "smallvec/serde", "gix-hash/serde"]
[dependencies]
gix-trace = { version = "^0.3.1", path = "../gix-trace" }
gix-parallel = { version = "^0.50.0", path = "../gix-parallel" }
gix-hash = { version = "^0.28.1", path = "../gix-hash" }
gix-error = { version = "^0.5.2", path = "../gix-error" }
gix-bitmap = { version = "^0.6.1", path = "../gix-bitmap" }
gix-object = { version = "^0.66.1", path = "../gix-object" }
gix-validate = { version = "^0.13.1", path = "../gix-validate" }
gix-traverse = { version = "^0.64.0", path = "../gix-traverse" }
gix-lock = { version = "^26.0.0", path = "../gix-lock" }
gix-fs = { version = "^0.24.1", path = "../gix-fs" }
gix-utils = { version = "^0.5.1", path = "../gix-utils", features = ["progress"] }
hashbrown = "0.17.1"
fnv = "1.0.7"
memmap2 = "0.9.11"
filetime = "0.2.29"
bstr = { version = "1.12.0", default-features = false }
serde = { version = "1.0.114", optional = true, default-features = false, features = [
"derive",
] }
smallvec = "1.15.1"
itoa = "1.0.17"
bitflags = "2"
document-features = { version = "0.2.0", optional = true }
[target.'cfg(unix)'.dependencies]
rustix = { version = "1.1.2", default-features = false, features = [
"std",
"fs",
] }
libc = { version = "0.2.186" }
[dev-dependencies]
criterion = "0.8.2"
gix-testtools = { path = "../tests/tools", default-features = false, features = ["sha1", "sha256"] }
gix-hash = { path = "../gix-hash", features = ["sha1", "sha256"] }
gix-hashtable = { path = "../gix-hashtable" }
gix-odb = { path = "../gix-odb" }
gix-object = { path = "../gix-object" }
filetime = "0.2.29"
insta = { version = "1.46.3", features = ["filters"] }
[package.metadata.docs.rs]
features = ["sha1", "document-features", "serde"]