51 lines · 1.7 KB · TOML
RawDownload
lints.workspace = true [package]name = "gix-commitgraph"version = "0.39.0"repository = "https://github.com/GitoxideLabs/gitoxide"documentation = "https://git-scm.com/docs/commit-graph"license = "MIT OR Apache-2.0"description = "Read-only access to the git commitgraph file format"authors = ["Conor Davis <gitoxide@conor.fastmail.fm>", "Sebastian Thiel <sebastian.thiel@icloud.com>"]edition = "2024"include = ["/src/**/*", "/LICENSE-*"]rust-version = "1.88" [lib]doctest = false [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", "gix-hash/serde", "bstr/serde"] [dependencies]gix-hash = { version = "^0.26.1", path = "../gix-hash" }gix-chunk = { version = "^0.8.0", path = "../gix-chunk" }gix-error = { version = "^0.3.2", path = "../gix-error" } bstr = { version = "1.12.0", default-features = false, features = ["std"] }memmap2 = "0.9.11"nonempty = "0.12.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", default-features = false }gix-date = { path = "../gix-date" }gix-hash = { path = "../gix-hash", features = ["sha1", "sha256"] } [package.metadata.docs.rs]all-features = truefeatures = ["sha1", "document-features"] [package.metadata.cargo-machete]ignored = [    # Needed for `bstr/serde` feature forwarding, even though no direct `bstr` paths are referenced.    "bstr",]