# 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-daemon"
version = "0.6.0"
authors = ["Luke"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Heddle local-mode gRPC daemon and service implementations"
readme = false
keywords = [
    "vcs",
    "version-control",
    "ai",
    "git",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/HeddleCo/heddle"
resolver = "2"

[features]
default = []
semantic = [
    "dep:semantic",
    "repo/tree-sitter-symbols",
]

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

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

[dependencies.crypto]
version = "0.6"
package = "heddle-crypto"

[dependencies.futures]
version = "0.3"

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

[dependencies.hex]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.objects]
version = "0.6"
package = "heddle-objects"

[dependencies.oplog]
version = "0.6"
default-features = false
package = "heddle-oplog"

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

[dependencies.refs]
version = "0.6"
default-features = false
package = "heddle-refs"

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

[dependencies.semantic]
version = "0.6"
optional = true
package = "heddle-semantic"

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

[dependencies.serde_json]
version = "1"

[dependencies.state_review]
version = "0.6"
package = "heddle-state-review"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "net",
    "signal",
    "sync",
    "time",
    "io-util",
    "process",
    "fs",
    "rt-multi-thread",
]
default-features = false

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.toml]
version = "1.1"

[dependencies.tonic]
version = "0.14"
features = [
    "transport",
    "tls-webpki-roots",
]

[dependencies.tracing]
version = "0.1"

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

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

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