# 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"
rust-version = "1.94"
name = "sqry-daemon"
version = "16.0.2"
authors = ["Verivus Pty Ltd"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "sqry daemon (sqryd) — persistent code-graph service"
readme = false
license = "MIT"
repository = "https://github.com/verivus-oss/sqry"
resolver = "2"

[features]
classifier-tests = ["sqry-nl/classifier"]
default = []
rebuild-internals = []
test-hooks = []
testharness = []

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

[[bin]]
name = "sqryd"
path = "src/main.rs"

[[bin]]
name = "sqryd-test-server"
path = "src/bin/sqryd-test-server.rs"
required-features = ["testharness"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.arc-swap]
version = "1"

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

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "env",
]

[dependencies.dirs]
version = "6"

[dependencies.fs2]
version = "0.4"

[dependencies.once_cell]
version = "1.21"

[dependencies.parking_lot]
version = "0.12"

[dependencies.regex]
version = "1.12"

[dependencies.rmcp]
version = "1.6"
features = [
    "server",
    "transport-io",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqry-core]
version = "16.0.2"
features = ["rebuild-internals"]

[dependencies.sqry-daemon-protocol]
version = "16.0.2"

[dependencies.sqry-db]
version = "16.0.2"

[dependencies.sqry-lsp]
version = "16.0.2"

[dependencies.sqry-mcp]
version = "16.0.2"

[dependencies.sqry-nl]
version = "16.0.2"

[dependencies.sqry-plugin-registry]
version = "16.0.2"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.52"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "net",
    "io-std",
    "io-util",
    "time",
    "full",
]

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
default-features = false

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

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

[dev-dependencies.assert_cmd]
version = "2.2.2"

[dev-dependencies.postcard]
version = "1"
features = [
    "use-std",
    "alloc",
]
default-features = false

[dev-dependencies.rmcp]
version = "1.6"
features = [
    "client",
    "transport-io",
]

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

[dev-dependencies.sha2]
version = "0.11"

[dev-dependencies.sqry-daemon-client]
version = "16.0.2"

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

[target.'cfg(target_os = "linux")'.dependencies.sd-notify]
version = "0.5"

[target.'cfg(target_os = "linux")'.dependencies.users]
version = "0.11"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(disabled)",
    "cfg(fuzzing)",
]
