merry-process 0.1.1

Sandboxed host-process execution (Landlock/seccomp, Seatbelt, Windows Job Objects) for Merry.
Documentation
//! Host process adapter composition.
//!
//! This module wires the concrete environment, permission, sandbox, and
//! execution components while keeping host-process details out of runtime.

mod background;
mod env_isolation;
mod environment;
mod execution;
#[cfg(any(target_os = "linux", target_os = "macos"))]
mod permissions;
#[cfg(any(target_os = "linux", target_os = "macos"))]
mod review;
mod tokio_runner;
#[cfg(windows)]
mod windows_job;

pub use env_isolation::{DEFAULT_REMOVED_ENV_PREFIX, ProcessEnvIsolation};
#[cfg(any(target_os = "linux", target_os = "macos"))]
pub use environment::WorkspaceProcessEnvironment;
pub use environment::action_process_path;
pub use merry_runtime::ProcessSessionPermissions;
#[cfg(any(target_os = "linux", target_os = "macos"))]
pub use permissions::{WorkspaceProcessRunner, WorkspaceProcessRunnerFactory};
pub use tokio_runner::TokioProcessRunner;

pub(crate) use background::BackgroundSupervisor;
#[cfg(any(target_os = "linux", target_os = "macos"))]
pub(crate) use environment::process_current_dir;

#[cfg(test)]
pub(crate) mod tests;