flowey_hvlite/lib.rs
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Flowey pipelines used by the OpenVMM project
5
6// DEVNOTE: this binary crate includes a `lib.rs` so that out-of-tree,
7// closed-source flowey pipelines can reuse certain bits of the open-source
8// flowey CLI and shared configuration logic (making it easier to have a
9// consistent UX across open and closed-source).
10
11#![expect(missing_docs)]
12#![forbid(unsafe_code)]
13
14pub mod pipelines;
15pub mod pipelines_shared;
16
17pub fn repo_root() -> std::path::PathBuf {
18 std::path::Path::new(&env!("CARGO_MANIFEST_DIR"))
19 .ancestors()
20 .nth(2)
21 .unwrap()
22 .into()
23}