OXYGENHUB
◆ main oxygenflow / crates / flow / src / lib.rs
1.0 KiB · Rust · last changed flow deps check: is every crate of a Cargo.lock in the image (closes #101) 1 day ago source blame history raw
5cf1e8ae Andy McCall ↶ 1
//! OxygenFlow's runner and tiers as a library: the `flow` command is built
2
//! on it, and so is the Android app's runner (oxygenhub-android#8), which
3
//! runs the WASM tier in its own process (docs/handover.md §10).
4
5
pub mod cache;
f201e1bc Andy McCall ↶ 6
pub mod checkpoint;
5cf1e8ae Andy McCall ↶ 7
pub mod cpio;
f3b5b86e Andy McCall ↶ 8
pub mod deps;
5cf1e8ae Andy McCall ↶ 9
pub mod egress;
10
pub mod facts;
11
/// The job-starting code `flow-init` uses in a microVM, shared with the
12
/// syscall tier.
788f57e4 Andy McCall ↶ 13
#[cfg(any(target_os = "linux", target_os = "android"))]
5cf1e8ae Andy McCall ↶ 14
#[path = "../../flow-init/src/job.rs"]
15
pub mod guest;
16
pub mod home;
17
pub mod images;
18
pub mod metrics;
19
pub mod microvm;
20
pub mod outputs;
3554afef Andy McCall ↶ 21
pub mod portable;
5cf1e8ae Andy McCall ↶ 22
pub mod runner;
23
pub mod swarm;
788f57e4 Andy McCall ↶ 24
// Linux's (and Android's) namespaces, Landlock, seccomp and cgroups:
25
// elsewhere (Windows, Haiku, FreeBSD) the tier says why it is not offered.
26
#[cfg(any(target_os = "linux", target_os = "android"))]
5cf1e8ae Andy McCall ↶ 27
pub mod syscall;
788f57e4 Andy McCall ↶ 28
#[cfg(not(any(target_os = "linux", target_os = "android")))]
3554afef Andy McCall ↶ 29
#[path = "syscall_none.rs"]
30
pub mod syscall;
31
pub mod tier;
85275e1e Andy McCall ↶ 32
pub mod update;
5cf1e8ae Andy McCall ↶ 33
pub mod wait;
34
pub mod wasm;
35
pub mod workspace;