mxc-sdk 1.0.1

Importable library for starting MXC sandboxes in-process, with streaming stdio.
Documentation
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

//! `seatbelt_common` — shared library for the macOS sandbox backend.
//!
//! - [`profile_builder`] is platform-agnostic (pure string generation) so it
//!   compiles and is fully unit-tested on every host. This lets reviewers
//!   validate profile generation without a Mac.
//! - [`seatbelt_policy`] owns the backend's network invariants and effective-
//!   policy helpers. Also platform-agnostic, so the rules are unit-tested
//!   everywhere even though only macOS can execute them.
//! - [`default_env`] resolves the schema-0.9 default `process.env` block.
//!   Platform-agnostic for the same reason.
//! - [`seatbelt_runner`] is gated to `target_os = "macos"` since it calls
//!   `sandbox_init()`.

pub mod default_env;
pub mod profile_builder;
pub mod seatbelt_policy;

#[cfg(target_os = "macos")]
pub mod seatbelt_runner;