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
e0918b88 Andy McCall 1
//! OxygenFlow core (docs/spec.md, docs/m0.md): pipelines, their
2
//! canonical form and hashes, and execution receipts. No I/O.
3
2d025bbf Andy McCall ↶ 4
/// This library's version, for hosts that report what they are built on.
5
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
6
060d459f Andy McCall ↶ 7
pub mod alert;
e0918b88 Andy McCall 8
pub mod api;
9
pub mod canonical;
bf7bb1b8 Andy McCall ↶ 10
pub mod cron;
e0918b88 Andy McCall 11
pub mod pipeline;
12
pub mod receipt;
13
14
pub use canonical::{object_hash, scope_tree_hash, Hash};
1abadd4a Andy McCall ↶ 15
pub use pipeline::{
e2089721 Andy McCall ↶ 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,
1abadd4a Andy McCall ↶ 18
};
e0918b88 Andy McCall 19
pub use receipt::{Environment, Receipt};
20
21
#[cfg(test)]
22
mod tests;