medic-lib 0.3.1

Helpers for writing checks and steps for medic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg_attr(feature = "strict", deny(warnings))]
#![feature(try_trait_v2, try_trait_v2_residual)]
// @related [test](medic-lib/src/lib_test.rs)

#[cfg(test)]
mod lib_test;

pub mod check_result;
pub mod step_result;

pub use check_result::CheckResult;
pub use step_result::StepResult;

pub fn std_to_string(data: Vec<u8>) -> String {
  String::from_utf8_lossy(&data).into_owned()
}