[package]
name = "tilo-process"
version = "0.5.2"
edition = "2024"
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]
native-editor = ["dep:serde"]
native = ["dep:hex"]
[dependencies]
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" }
tilo-paths = { version = "=0.5.2", path = "../tilo-paths" }
tilo-clock = { version = "=0.5.2", path = "../tilo-clock" }
[target.'cfg(unix)'.dependencies]
tilo-files = { version = "=0.5.2", path = "../tilo-files" }
bounded-command = { package = "tilo-bounded-command", version = "=0.5.2", path = "../bounded-command" }
tilo-advisory-lock = { version = "=0.5.2", path = "../advisory-lock" }
libc.workspace = true
rustix = { workspace = true, features = ["net", "process"] }
socket2 = { version = "0.6", default-features = false, features = ["all"] }
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21.1"
ndk-context = "0.1.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
workspace-hack = { version = "0.1" }
[target.'cfg(unix)'.dev-dependencies]
tempfile.workspace = true
jni = "0.21.1"
ndk-context = "0.1.1"
tilo-test-env = { path = "../../../tools/test-env" }