mxc-sdk 1.2.0

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

//! WSLC Common — WSL Container SDK integration for MXC.
//!
//! [`wslcsdk_sys`] holds the bindgen-generated FFI declarations for the WSLC
//! SDK C API; [`wslc_bindings`] wraps them in the runtime loader and RAII
//! guards the rest of the crate uses.
//!
//! On top of those sit the two execution models, both implemented by
//! [`WSLContainerRunner`] over one
//! shared container lifecycle: run-to-completion (`ScriptRunner`, used by
//! `wxc-exec`) and streaming (`SandboxBackend`, in [`sandbox`], used by the
//! Rust SDK).

pub mod container_steps;
pub mod daemon_client;
pub mod daemon_protocol;
pub mod daemon_record;
pub mod egress_gateway;
pub mod error;
pub mod image;
pub mod policy;
pub mod policy_mapping;
pub mod process_env;
pub mod registry_policy;
pub mod sandbox;
pub mod sandbox_network;
pub mod sdk_init;
mod session_resources;
pub mod state_aware;
pub mod store_slots;
mod stream_buffer;
pub mod wsl_container_runner;
pub mod wslc_bindings;
pub mod wslcsdk_sys;

pub use state_aware::WslcStateAwareRunner;
pub use wsl_container_runner::WSLContainerRunner;
pub use wslc_bindings::is_available;