Skip to main content

platform/
lib.rs

1//! This machine: `base`'s four execution contracts answered with the local
2//! process table, filesystem, network and OS sandbox, plus the daemon's crash
3//! hook and the identity a discovery file records for a running process.
4//!
5//! `base` defines the contracts and never names this crate; whatever runs
6//! tools on a real machine depends on both.
7
8pub mod crash;
9pub mod env;
10pub mod filesystem;
11pub mod lineage;
12#[cfg(feature = "http")]
13pub mod network;
14pub mod orphans;
15pub mod process;
16pub mod process_identity;
17mod providers;
18pub mod sandbox;
19#[cfg(all(unix, feature = "testing"))]
20pub mod testing;
21
22pub use env::apply_subprocess_env;
23pub use filesystem::LocalFileSystem;
24#[cfg(feature = "http")]
25pub use network::{
26    configure_system_proxy, install_tls_provider, proxy_variables_set, use_system_proxy_now,
27    LocalNetwork,
28};
29pub use process::{GroupLedger, LocalProcess};
30pub use providers::{local_providers, local_providers_with, local_providers_with_ledger};
31pub use sandbox::PlatformSandbox;