beachcomber 0.4.0

A centralized daemon that caches shell state (git, battery, hostname, etc.) so every consumer reads from one fast cache instead of independently forking shells
Documentation
# 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 = "beachcomber"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A centralized daemon that caches shell state (git, battery, hostname, etc.) so every consumer reads from one fast cache instead of independently forking shells"
homepage = "https://github.com/NavistAu/beachcomber"
readme = "README.md"
keywords = [
    "shell",
    "prompt",
    "git",
    "tmux",
    "daemon",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/NavistAu/beachcomber"

[package.metadata.deb]
maintainer = "NavistAu <github@navistau.io>"
copyright = "2026, NavistAu"
extended-description = "A centralized daemon that caches shell state (git, battery, network, etc.) so every consumer reads from one fast cache instead of independently forking shells."
section = "utils"
priority = "optional"
assets = [[
    "target/release/comb",
    "usr/bin/",
    "755",
]]

[[package.metadata.generate-rpm.assets]]
source = "target/release/comb"
dest = "/usr/bin/comb"
mode = "0755"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "cache"
path = "benches/cache.rs"
harness = false

[[bench]]
name = "protocol"
path = "benches/protocol.rs"
harness = false

[[bench]]
name = "providers"
path = "benches/providers.rs"
harness = false

[[bench]]
name = "socket"
path = "benches/socket.rs"
harness = false

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dashmap]
version = "6"

[dependencies.libc]
version = "0.2"

[dependencies.libloading]
version = "0.9.0"

[dependencies.notify]
version = "8"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dependencies.ureq]
version = "3"

[dependencies.xdg]
version = "3"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "async_tokio",
]

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

[dev-dependencies.tokio-test]
version = "0.4"

[profile.release]
opt-level = "z"
lto = true
strip = true