indy-credx 1.1.1

Verifiable credential issuance and presentation for Hyperledger Indy (https://www.hyperledger.org/projects), which provides a distributed-ledger-based foundation for self-sovereign identity (https://sovrin.org).
Documentation
#[cfg(test)]
macro_rules! assert_kind {
    ($kind:ident, $var:expr) => {
        match $var {
            Err(e) => assert_eq!($crate::error::ErrorKind::$kind, e.kind()),
            _ => assert!(false, "Result expected to be error"),
        }
    };
}

#[cfg(debug_assertions)]
macro_rules! secret {
    ($val:expr) => {{
        $val
    }};
}

#[cfg(not(debug_assertions))]
macro_rules! secret {
    ($val:expr) => {{
        "_"
    }};
}