| Crates.io | wrkflw-utils |
| lib.rs | wrkflw-utils |
| version | 0.7.3 |
| created_at | 2025-08-09 12:20:28.746899+00 |
| updated_at | 2025-08-28 07:32:21.819641+00 |
| description | Utility functions for wrkflw workflow execution engine |
| homepage | https://github.com/bahdotsh/wrkflw |
| repository | https://github.com/bahdotsh/wrkflw |
| max_upload_size | |
| id | 1787881 |
| size | 14,580 |
Shared helpers used across crates.
.github/workflows/*.yml, .gitlab-ci.yml)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);