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
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 deps;
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.
13
#[cfg(any(target_os = "linux", target_os = "android"))]
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;
21
pub mod portable;
22
pub mod runner;
23
pub mod swarm;
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"))]
27
pub mod syscall;
28
#[cfg(not(any(target_os = "linux", target_os = "android")))]
29
#[path = "syscall_none.rs"]
30
pub mod syscall;
31
pub mod tier;
32
pub mod update;
33
pub mod wait;
34
pub mod wasm;
35
pub mod workspace;