hatchery-node 0.2.21

Hatchery node: the complete node kit over the gate4agent transport (PTY/inline sessions, file browser, local git, worktrees, mailbox, browser station, session restore)
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 = "2021"
name = "hatchery-node"
version = "0.2.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hatchery node: the complete node kit over the gate4agent transport (PTY/inline sessions, file browser, local git, worktrees, mailbox, browser station, session restore)"
readme = false
license = "MIT"
repository = "https://github.com/ZENG3LD/hatchery"

[features]
d2b = [
    "dep:dig2browser",
    "dep:tokio-tungstenite",
    "dep:futures-util",
    "dep:image",
]
default = ["kit"]
dig2-station-probe = []
fixture = [
    "dep:gate4agent-testkit",
    "gate4agent-node-wire/fixture",
]
kit = [
    "m4a",
    "d2b",
    "session-restore",
    "wireguard",
    "memory",
    "local-server",
]
local-server = [
    "dep:tesserax",
    "dep:tesserax-http",
    "dep:uuid",
]
m4a = ["dep:mail4agent"]
memory = []
session-restore = [
    "dep:claude-session-restore",
    "dep:codex-session-restore",
    "dep:grok-session-restore",
    "dep:kimi-session-restore",
]
wireguard = ["gate4agent-node-core/wireguard"]

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

[[bin]]
name = "gate4agent-node"
path = "src/main.rs"

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

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

[[test]]
name = "unix_fixture_local_node_e2e"
path = "tests/unix_fixture_local_node_e2e.rs"
required-features = ["fixture"]

[[test]]
name = "unix_workspace_file_read_e2e"
path = "tests/unix_workspace_file_read_e2e.rs"
required-features = ["fixture"]

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

[[test]]
name = "windows_context_pack_worktree_bundle_e2e"
path = "tests/windows_context_pack_worktree_bundle_e2e.rs"
required-features = ["fixture"]

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

[[test]]
name = "windows_fixture_local_node_snapshot_reconnect_controller_lease"
path = "tests/windows_fixture_local_node_snapshot_reconnect_controller_lease.rs"
required-features = ["fixture"]

[[test]]
name = "windows_fixture_runtime_policy_e2e"
path = "tests/windows_fixture_runtime_policy_e2e.rs"
required-features = ["fixture"]

[[test]]
name = "windows_workspace_file_read_e2e"
path = "tests/windows_workspace_file_read_e2e.rs"
required-features = ["fixture"]

[dependencies.base64]
version = "0.22"

[dependencies.claude-session-restore]
version = "0.1.3"
optional = true

[dependencies.codex-session-restore]
version = "0.1.3"
optional = true

[dependencies.dig2browser]
version = "0.5.3"
optional = true
default-features = false

[dependencies.ed25519-dalek]
version = "2"

[dependencies.futures-util]
version = "0.3"
features = [
    "sink",
    "std",
]
optional = true
default-features = false

[dependencies.gate4agent-adapters]
version = "0.5.4"

[dependencies.gate4agent-catalog]
version = "0.5.2"

[dependencies.gate4agent-handle]
version = "0.5.2"

[dependencies.gate4agent-node-core]
version = "0.5.2"

[dependencies.gate4agent-node-protocol]
version = "0.5.4"

[dependencies.gate4agent-node-wire]
version = "0.5.4"

[dependencies.gate4agent-runtime-native]
version = "0.5.4"

[dependencies.gate4agent-testkit]
version = "0.5.2"
optional = true

[dependencies.gate4agent-types]
version = "0.5.2"

[dependencies.gate4agent-wake]
version = "0.5.2"
features = [
    "wake-routine",
    "wake-kimi",
]
default-features = false

[dependencies.getrandom]
version = "0.3"

[dependencies.grok-session-restore]
version = "0.1.4"
optional = true

[dependencies.hatchery-build]
version = "0.2.21"

[dependencies.hatchery-core]
version = "0.2.21"

[dependencies.hatchery-enroll]
version = "0.2.21"

[dependencies.hex]
version = "0.4"

[dependencies.image]
version = "0.25"
features = ["jpeg"]
optional = true
default-features = false

[dependencies.kimi-session-restore]
version = "0.1.4"
optional = true

[dependencies.mail4agent]
version = "0.4.14"
optional = true
default-features = false

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.ring]
version = "=0.17.14"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tesserax]
version = "0.1.1"
features = ["server"]
optional = true
default-features = false

[dependencies.tesserax-http]
version = "0.1.1"
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.26"
optional = true

[dependencies.tracing]
version = "0.1"

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

[dependencies.uuid]
version = "1"
features = ["v4"]
optional = true

[dependencies.zeroize]
version = "1"

[dev-dependencies.hatchery-keystore]
version = "0.2.21"

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

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

[dev-dependencies.vt100]
version = "0.16"

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

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Storage_FileSystem",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_Pipes",
    "Win32_System_Threading",
]