Skip to main content

runtime/
tools.rs

1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at https://mozilla.org/MPL/2.0/.
4// Copyright (c) 2026 2youg1 and the sprawling contributors
5
6//! The L0 three. Index only: no logic lives here.
7
8mod bound_reader;
9mod call;
10mod chosen_path;
11mod describe;
12mod edit;
13mod exec;
14#[cfg(windows)]
15pub(crate) use exec::native_windows;
16mod read;
17mod search;
18mod status;
19mod succeed;
20
21pub use bound_reader::{BoundReader, Named, Opened};
22pub use call::CallTool;
23pub use chosen_path::ReadBound;
24#[cfg(test)]
25pub(crate) use chosen_path::admit;
26pub use describe::DescribeTool;
27pub use edit::EditTool;
28pub use edit::version_of;
29pub(crate) use exec::container::ContainerLease;
30pub use exec::container::run_container_guard;
31pub use exec::parse_arm;
32pub use exec::parse_placement;
33pub use exec::{ContainerEngine, ContainerLaunch, ContainerRuntime};
34pub use exec::{ExecSetup, ExecTool};
35pub use exec::{FailureClass, Shell, ShellCount, ShellTally};
36pub use exec::{Placed, Placement};
37// Where a host command runs is public through this module for the two
38// readers outside the tool: the machine's own dependency report, and a
39// caller deciding whether a task can be done here at all.
40pub use exec::{Assurances, Confined, Confinement, Guarantee, Kept, Missing, Offerings};
41pub use read::ReadTool;
42pub use search::SearchTool;
43pub use status::ChildStatus;
44pub use status::ProviderMode;
45pub use status::StatusSnapshot;
46pub use status::StatusTool;
47pub use succeed::{SucceedTool, Succession, SuccessionDesk};