4 releases
| 0.7.3 | Aug 28, 2025 |
|---|---|
| 0.7.2 | Aug 28, 2025 |
| 0.7.0 | Aug 13, 2025 |
| 0.6.0 | Aug 9, 2025 |
#38 in #workflow-engine
39 downloads per month
Used in 4 crates
24KB
331 lines
wrkflw-utils
Shared helpers used across crates.
- Workflow file detection (
.github/workflows/*.yml,.gitlab-ci.yml) - File-descriptor redirection utilities for silencing noisy subprocess output (Unix only; Windows support is limited)
Example
use std::path::Path;
use wrkflw_utils::{is_workflow_file, fd::with_stderr_to_null};
assert!(is_workflow_file(Path::new(".github/workflows/ci.yml")));
let value = with_stderr_to_null(|| {
eprintln!("this is hidden on Unix, visible on Windows");
42
}).unwrap();
assert_eq!(value, 42);
Dependencies
~3.5–5MB
~104K SLoC