# 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-ingest"
version = "0.7.0"
authors = ["Luke"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Import git history (commits, refs, reflogs) into a native Heddle repository with agent attribution and reasoning annotations."
readme = false
license = "Apache-2.0"
repository = "https://github.com/HeddleCo/heddle"
resolver = "2"

[features]
default = ["zstd"]
zstd = [
    "objects/zstd",
    "repo/zstd",
]

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.objects]
version = "0.7"
features = ["memory-backend"]
package = "heddle-objects"

[dependencies.oplog]
version = "0.7"
package = "heddle-oplog"

[dependencies.pollster]
version = "0.4"

[dependencies.refs]
version = "0.7"
package = "heddle-refs"

[dependencies.repo]
version = "0.7"
features = ["git-overlay"]
default-features = false
package = "heddle-repo"

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

[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
default-features = false

[dependencies.semantic]
version = "0.7"
package = "heddle-semantic"

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

[dependencies.serde_json]
version = "1"

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

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

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