# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "heddle-objects"
version = "0.8.0"
authors = ["Luke"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An AI-native version control system"
readme = false
keywords = [
    "vcs",
    "version-control",
    "ai",
    "git",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/HeddleCo/heddle"
resolver = "2"

[features]
async-source = []
bench = ["heddle-format/bench"]
memory-backend = []
zstd = [
    "dep:zstd",
    "heddle-format/zstd",
]

[lib]
name = "objects"
path = "src/lib.rs"

[[test]]
name = "fault_inject_panic"
path = "tests/fault_inject_panic.rs"

[[bench]]
name = "compression"
path = "benches/compression.rs"
harness = false
required-features = ["bench"]

[[bench]]
name = "delta"
path = "benches/delta.rs"
harness = false
required-features = ["bench"]

[[bench]]
name = "hashing"
path = "benches/hashing.rs"
harness = false
required-features = ["bench"]

[[bench]]
name = "pack_io"
path = "benches/pack_io.rs"
harness = false
required-features = ["bench"]

[[bench]]
name = "tree_diff"
path = "benches/tree_diff.rs"
harness = false
required-features = ["bench"]

[dependencies.anyhow]
version = "1"

[dependencies.base32]
version = "0.5"

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.fs2]
version = "0.4.3"

[dependencies.heddle-format]
version = "0.8"

[dependencies.hex]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.memmap2]
version = "0.9"

[dependencies.rand]
version = "0.10"

[dependencies.rmp-serde]
version = "1"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

[dependencies.similar]
version = "3"

[dependencies.sley]
version = "0.4.0"
features = [
    "mmap",
    "fast-sha1",
]

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
    "serde",
]

[dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Storage_FileSystem",
]

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tempfile]
version = "3"
