OXYGENHUB
◆ v0.5.3 oxygenflow / crates / flow-core / src / lib.rs
716 B · Rust · last changed Sealed alerts: flow_core::alert encrypts what a phone is told to an X25519 key it made (fresh key per alert, HKDF-SHA256, ChaCha20-Poly1305), from crates already in the tree (refs oxygenhub-android#16) 8 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 alert;
8
pub mod api;
9
pub mod canonical;
10
pub mod cron;
11
pub mod pipeline;
12
pub mod receipt;
13
14
pub use canonical::{object_hash, scope_tree_hash, Hash};
15
pub use pipeline::{
16
    arch_ok, egress_allows, egress_pattern_ok, Approval, Identity, Input, Job, Mount, MountSource, Network, Output, OutputKind, Pipeline,
17
    Problem, Problems, Runtime, Sandbox, Secret, EGRESS_LABEL, PIPELINE_PATH,
18
};
19
pub use receipt::{Environment, Receipt};
20
21
#[cfg(test)]
22
mod tests;