mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
Rename fabro-proctitle to fabro-proc and add safe wrappers for all process management primitives (signals, pre-exec hooks). This contains all unsafe proc code behind a safe API so downstream crates no longer need #[allow(unsafe_code)] or direct libc dependencies. New modules: signal (process_alive, sigterm, sigkill, sigterm_process_group), pre_exec (pre_exec_setsid, pre_exec_setpgid, pre_exec_pdeathsig), title (existing proctitle code). Eliminates three duplicate process_alive definitions and removes libc as a direct dep of fabro-cli and fabro-sandbox. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
333 B
TOML
16 lines
333 B
TOML
[package]
|
|
name = "fabro-proc"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
publish = false
|
|
license.workspace = true
|
|
description = "Safe wrappers for process management primitives (signals, pre-exec hooks, title rewriting)"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[build-dependencies]
|
|
cc = "1"
|