16 lines
595 B
Rust
16 lines
595 B
Rust
//! `faunosteo-worker` library: the pieces the binary, the tests and the R1 job loop share.
|
||
//!
|
||
//! Process model (review Part IV.1): a keyed parent spawns the same binary as `decode`, a
|
||
//! child with an empty environment that confines itself (rlimits + seccomp) before reading
|
||
//! one image on stdin and writing one 512 × 512 WebP on stdout. The parent never decodes:
|
||
//! it checks the container header of what comes back (`webp_check`).
|
||
|
||
pub mod decode;
|
||
pub mod exit_codes;
|
||
#[cfg(feature = "test-hooks")]
|
||
pub mod fixtures;
|
||
pub mod limits;
|
||
pub mod sandbox;
|
||
pub mod spawn;
|
||
pub mod webp_check;
|