medic_lib/lib.rs
1#![cfg_attr(feature = "strict", deny(warnings))]
2#![feature(try_trait_v2)]
3
4pub mod check_result;
5pub mod step_result;
6
7pub use check_result::CheckResult;
8pub use step_result::StepResult;
9
10pub fn std_to_string(data: Vec<u8>) -> String {
11 String::from_utf8(data)
12 .expect("Unable to parse text from STDIO. Output must be valid UTF-8 content.")
13}