# 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 = "2021"
rust-version = "1.75"
name = "sessionguard"
version = "0.3.5"
authors = ["Droco LLC <dev@droco.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A system-level daemon that keeps AI coding sessions intact when your projects move"
homepage = "https://github.com/PilotDevo/sessionguard"
readme = "README.md"
keywords = [
    "ai",
    "session",
    "daemon",
    "filesystem",
    "developer-tools",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/PilotDevo/sessionguard"

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

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

[[example]]
name = "notify_dump"
path = "examples/notify_dump.rs"

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.clap_complete]
version = "4"

[dependencies.directories]
version = "6"

[dependencies.glob]
version = "0.3"

[dependencies.libc]
version = "0.2"

[dependencies.notify]
version = "8"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "fs",
    "sync",
    "time",
]

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

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

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

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

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

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

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
