[package]
edition = "2021"
name = "rmux-sdk"
version = "0.6.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public, daemon-backed Rust SDK for the RMUX terminal multiplexer (facade, ensure-session, snapshots, events, detach helpers)."
readme = "README.md"
keywords = [
"terminal",
"multiplexer",
"sdk",
]
categories = [
"command-line-interface",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/helvesec/rmux"
[features]
crossterm = ["dep:crossterm"]
default = ["web"]
regex = ["dep:regex"]
web = []
[lib]
name = "rmux_sdk"
path = "src/lib.rs"
[[example]]
name = "assert_visible_text"
path = "examples/assert_visible_text.rs"
[[example]]
name = "capture_region"
path = "examples/capture_region.rs"
[[example]]
name = "collect_until_exit"
path = "examples/collect_until_exit.rs"
[[example]]
name = "detach_safety_net"
path = "examples/detach_safety_net.rs"
[[example]]
name = "discover_panes"
path = "examples/discover_panes.rs"
[[example]]
name = "nested_detection"
path = "examples/nested_detection.rs"
[[example]]
name = "pane_events_stream"
path = "examples/pane_events_stream.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[example]]
name = "quiet_state"
path = "examples/quiet_state.rs"
[[example]]
name = "sdk_demo_close_window"
path = "examples/sdk_demo_close_window.rs"
[[example]]
name = "sdk_demo_create_session"
path = "examples/sdk_demo_create_session.rs"
[[example]]
name = "sdk_demo_find_text"
path = "examples/sdk_demo_find_text.rs"
[[example]]
name = "sdk_demo_kill_session"
path = "examples/sdk_demo_kill_session.rs"
[[example]]
name = "sdk_demo_line_stream"
path = "examples/sdk_demo_line_stream.rs"
[[example]]
name = "sdk_demo_list_sessions"
path = "examples/sdk_demo_list_sessions.rs"
[[example]]
name = "sdk_demo_output_stream"
path = "examples/sdk_demo_output_stream.rs"
[[example]]
name = "sdk_demo_quickstart"
path = "examples/sdk_demo_quickstart.rs"
[[example]]
name = "sdk_demo_reconnect"
path = "examples/sdk_demo_reconnect.rs"
[[example]]
name = "sdk_demo_resize_pane"
path = "examples/sdk_demo_resize_pane.rs"
[[example]]
name = "sdk_demo_respawn_pane"
path = "examples/sdk_demo_respawn_pane.rs"
[[example]]
name = "sdk_demo_run_detached"
path = "examples/sdk_demo_run_detached.rs"
[[example]]
name = "sdk_demo_send_keys"
path = "examples/sdk_demo_send_keys.rs"
[[example]]
name = "sdk_demo_snapshot"
path = "examples/sdk_demo_snapshot.rs"
[[example]]
name = "sdk_demo_split_horizontal"
path = "examples/sdk_demo_split_horizontal.rs"
[[example]]
name = "sdk_demo_split_window"
path = "examples/sdk_demo_split_window.rs"
[[example]]
name = "sdk_demo_wait_exit"
path = "examples/sdk_demo_wait_exit.rs"
[[example]]
name = "sdk_demo_wait_next"
path = "examples/sdk_demo_wait_next.rs"
[[example]]
name = "terminal_playwright"
path = "examples/terminal_playwright.rs"
[[example]]
name = "trace_terminal"
path = "examples/trace_terminal.rs"
[[example]]
name = "wait_for_text"
path = "examples/wait_for_text.rs"
[[test]]
name = "armed_wait"
path = "tests/armed_wait.rs"
[[test]]
name = "cmd"
path = "tests/cmd.rs"
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "discovery"
path = "tests/discovery.rs"
[[test]]
name = "error_display"
path = "tests/error_display.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "extract"
path = "tests/extract.rs"
[[test]]
name = "identity"
path = "tests/identity.rs"
[[test]]
name = "info"
path = "tests/info.rs"
[[test]]
name = "input"
path = "tests/input.rs"
[[test]]
name = "layout_builder"
path = "tests/layout_builder.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "pane_input"
path = "tests/pane_input.rs"
[[test]]
name = "pane_queries"
path = "tests/pane_queries.rs"
[[test]]
name = "pane_set"
path = "tests/pane_set.rs"
[[test]]
name = "session"
path = "tests/session.rs"
[[test]]
name = "smoke_v1"
path = "tests/smoke_v1.rs"
[[test]]
name = "smoke_v1_full"
path = "tests/smoke_v1_full.rs"
[[test]]
name = "smoke_v1_full_windows"
path = "tests/smoke_v1_full_windows.rs"
[[test]]
name = "smoke_v1_windows"
path = "tests/smoke_v1_windows.rs"
[[test]]
name = "snapshot"
path = "tests/snapshot.rs"
[[test]]
name = "streams"
path = "tests/streams.rs"
[[test]]
name = "terminal_automation"
path = "tests/terminal_automation.rs"
[[test]]
name = "value_objects"
path = "tests/value_objects.rs"
[[test]]
name = "wait"
path = "tests/wait.rs"
[[test]]
name = "window"
path = "tests/window.rs"
[dependencies.crossterm]
version = "0.29.0"
features = [
"events",
"windows",
]
optional = true
default-features = false
[dependencies.regex]
version = "1"
optional = true
[dependencies.rmux-ipc]
version = "0.6.1"
[dependencies.rmux-os]
version = "0.6.1"
[dependencies.rmux-proto]
version = "0.6.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.48.0"
features = [
"fs",
"io-util",
"rt",
"sync",
]
[dev-dependencies.bincode]
version = "1.3.3"
[dev-dependencies.crossterm]
version = "0.29.0"
features = [
"events",
"windows",
]
default-features = false
[dev-dependencies.tokio]
version = "1.48.0"
features = [
"io-util",
"macros",
"net",
"rt",
"rt-multi-thread",
"sync",
"time",
]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.rustix]
version = "1.1.4"
features = ["fs"]
[target."cfg(unix)".dependencies.signal-hook]
version = "0.3.18"
[target."cfg(unix)".dependencies.tokio]
version = "1.48.0"
features = [
"net",
"time",
]
[target."cfg(windows)".dependencies.tokio]
version = "1.48.0"
features = [
"net",
"signal",
"time",
]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = ["Win32_Foundation"]