txtx-core 0.2.5

Primitives for parsing, analyzing and executing Txtx runbooks
Documentation
1
2
3
4
5
6
7
8
9
10
11
use txtx_addon_kit::types::types::Value;

pub const STD_HASH: &str = "std::hash";

pub struct StdValue {}

impl StdValue {
    pub fn hash(bytes: Vec<u8>) -> Value {
        Value::addon(bytes, STD_HASH)
    }
}