tilo-process 0.5.2

The current process and, later, child processes: one API on Linux, macOS and the web, where there are none.
Documentation
[package]
name = "tilo-process"
version = "0.5.2"
edition = "2024"
# Published: the SDK's platform layer (tools/sdk/publish_check.py).
publish = true
license = "MIT"
readme = "../../../docs/crates/supporting-crate.md"
repository.workspace = true
homepage.workspace = true
description = "The current process and, later, child processes: one API on Linux, macOS and the web, where there are none."

[lints]
workspace = true

[features]
# The native editor's frames (`editor`), which Terminal and its shell exchange.
native-editor = ["dep:serde"]
# The host inputs' native fallback (`environment::process_environment`): what
# a launcher passes through the process environment.
native = ["dep:hex"]

[dependencies]
# The host inputs (`environment`): the message locale.
unic-langid.workspace = true
hex = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
tilo-platform-caps = { version = "=0.5.2", path = "../tilo-platform-caps" }
# One rule for which language a locale names, shared with the packs.
tilo-paths = { version = "=0.5.2", path = "../tilo-paths" }
# The clock that also reads in a browser page, where std has none.
tilo-clock = { version = "=0.5.2", path = "../tilo-clock" }

[target.'cfg(unix)'.dependencies]
# The rendezvous socket is bound and reached by path, however deep its directory.
tilo-files = { version = "=0.5.2", path = "../tilo-files" }
# Reading the login shell's PATH, bounded in time and size.
bounded-command = { package = "tilo-bounded-command", version = "=0.5.2", path = "../bounded-command" }
# The rendezvous lock and the socket wait.
tilo-advisory-lock = { version = "=0.5.2", path = "../advisory-lock" }
libc.workspace = true
rustix = { workspace = true, features = ["net", "process"] }
# The owner-only service connect's deadline.
socket2 = { version = "0.6", default-features = false, features = ["all"] }

# The process's Java VM, which android-activity publishes in `ndk-context` (`android`).
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21.1"
ndk-context = "0.1.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# The workspace-hack's native feature set does not build for wasm32.
workspace-hack = { version = "0.1" }

[target.'cfg(unix)'.dev-dependencies]
tempfile.workspace = true
# The Android context's bookkeeping is tested on the host, where no Java VM runs.
jni = "0.21.1"
ndk-context = "0.1.1"
tilo-test-env = { path = "../../../tools/test-env" }