running-process 4.2.0

Subprocess and PTY runtime for the running-process project
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"
rust-version = "1.85"
name = "running-process"
version = "4.2.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Subprocess and PTY runtime for the running-process project"
homepage = "https://github.com/zackees/running-process"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/zackees/running-process"

[features]
client = [
    "dep:prost",
    "dep:prost-types",
    "dep:interprocess",
    "dep:dirs",
    "dep:anyhow",
    "dep:clap",
    "dep:blake3",
    "dep:sha2",
    "dep:getrandom",
]
client-async = [
    "client",
    "dep:tokio",
]
core = []
daemon = [
    "client",
    "client-async",
    "interprocess/tokio",
    "dep:tokio",
    "dep:tokio-util",
    "dep:bytes",
    "dep:futures-util",
    "tokio/full",
    "dep:tracing",
    "dep:tracing-subscriber",
    "dep:rusqlite",
    "dep:toml",
]
default = ["client"]
originator-scan = []
telemetry = []
test-support = ["client"]

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

[[bin]]
name = "daemon-trampoline"
path = "src/bin/trampoline.rs"

[[bin]]
name = "running-process-broker-v1"
path = "src/bin/running-process-broker-v1.rs"
required-features = ["daemon"]

[[bin]]
name = "running-process-cleanup"
path = "src/bin/running-process-cleanup.rs"
required-features = ["client"]

[[bin]]
name = "running-process-daemon"
path = "src/bin/daemon.rs"
required-features = ["daemon"]

[[bin]]
name = "runpm"
path = "src/bin/runpm.rs"
required-features = ["client"]

[[example]]
name = "handoff_rollout_evidence"
path = "examples/handoff_rollout_evidence.rs"
required-features = ["client"]

[[test]]
name = "broker"
path = "tests/broker/main.rs"

[[test]]
name = "cleanup"
path = "tests/cleanup/main.rs"

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

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

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

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

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

[[test]]
name = "daemon_integration"
path = "tests/daemon_integration/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "maintenance"
path = "tests/maintenance/main.rs"

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

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

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

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

[[test]]
name = "security"
path = "tests/security/main.rs"

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

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

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.blake3]
version = "1"
optional = true

[dependencies.bytes]
version = "1"
optional = true

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

[dependencies.dirs]
version = "6"
optional = true

[dependencies.futures-util]
version = "0.3"
features = ["sink"]
optional = true

[dependencies.getrandom]
version = "0.4"
optional = true

[dependencies.interprocess]
version = "2"
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.portable-pty]
version = "0.9"

[dependencies.prost]
version = "0.14"
optional = true

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

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.sysinfo]
version = "0.30"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "time",
]
optional = true
default-features = false

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
optional = true

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

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

[dependencies.winapi]
version = "0.3"
features = [
    "errhandlingapi",
    "fileapi",
    "handleapi",
    "ioapiset",
    "jobapi2",
    "namedpipeapi",
    "processthreadsapi",
    "winnt",
    "minwindef",
    "windef",
    "winuser",
    "consoleapi",
    "processenv",
    "synchapi",
    "winbase",
    "wincon",
    "tlhelp32",
    "securitybaseapi",
    "winerror",
    "sysinfoapi",
]

[dev-dependencies.dirs]
version = "6"

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

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

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

[build-dependencies.protox]
version = "0.9"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Storage_FileSystem",
    "Win32_System_Console",
    "Win32_System_IO",
    "Win32_System_Memory",
    "Win32_System_Pipes",
    "Win32_System_Registry",
    "Win32_System_Threading",
    "Win32_System_Diagnostics_Debug",
]

[target."cfg(windows)".dev-dependencies.winapi]
version = "0.3"
features = [
    "handleapi",
    "processthreadsapi",
    "winnt",
]

[lints.clippy]
disallowed_methods = "deny"