OXYGENHUB
◆ v0.5.2 oxygenflow / crates / flow / src / lib.rs
1.0 KiB · Rust · last changed flow builds on Haiku: the syscall tier, guest job code and load average are Linux's only; noatime where statvfs knows it (refs #91) 7 days ago source blame history raw
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;
6
pub mod checkpoint;
7
pub mod cpio;
8
pub mod egress;
9
pub mod facts;
10
/// The job-starting code `flow-init` uses in a microVM, shared with the
11
/// syscall tier.
12
#[cfg(any(target_os = "linux", target_os = "android"))]
13
#[path = "../../flow-init/src/job.rs"]
14
pub mod guest;
15
pub mod home;
16
pub mod images;
17
pub mod metrics;
18
pub mod microvm;
19
pub mod outputs;
20
pub mod portable;
21
pub mod runner;
22
pub mod swarm;
23
// Linux's (and Android's) namespaces, Landlock, seccomp and cgroups:
24
// elsewhere (Windows, Haiku, FreeBSD) the tier says why it is not offered.
25
#[cfg(any(target_os = "linux", target_os = "android"))]
26
pub mod syscall;
27
#[cfg(not(any(target_os = "linux", target_os = "android")))]
28
#[path = "syscall_none.rs"]
29
pub mod syscall;
30
pub mod tier;
31
pub mod update;
32
pub mod wait;
33
pub mod wasm;
34
pub mod workspace;