OXYGENHUB
# 5db09ccf23ab oxygenflow / crates / flow-core / src / lib.rs
701 B · Rust · last changed Approval gates in the pipeline: approval { by; others-only; expires } 20 days ago source blame history raw
1
//! OxygenFlow core (docs/spec.md, docs/m0.md): pipelines, their
2
//! canonical form and hashes, and execution receipts. No I/O.
3
4
/// This library's version, for hosts that report what they are built on.
5
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
6
7
pub mod api;
8
pub mod canonical;
9
pub mod cron;
10
pub mod pipeline;
11
pub mod receipt;
12
13
pub use canonical::{object_hash, scope_tree_hash, Hash};
14
pub use pipeline::{
15
    arch_ok, egress_allows, egress_pattern_ok, Approval, Identity, Input, Job, Mount, MountSource, Network, Output, OutputKind, Pipeline,
16
    Problem, Problems, Runtime, Sandbox, Secret, EGRESS_LABEL, PIPELINE_PATH,
17
};
18
pub use receipt::{Environment, Receipt};
19
20
#[cfg(test)]
21
mod tests;