bitceptron_regtest_utils 0.2.0

A tiny utility crate for running bitcoin's regtest network.
Documentation
#[derive(Debug)]
pub enum RegtestUtilsError {
    InvalidPort,
    RepetitiveRegtestPortOrRpcportConfs,
    RpcClientEstablishmentError(bitcoincore_rpc::Error),
    OsCommandError(std::process::Command),
}

impl From<bitcoincore_rpc::Error> for RegtestUtilsError {
    fn from(value: bitcoincore_rpc::Error) -> Self {
        RegtestUtilsError::RpcClientEstablishmentError(value)
    }
}

impl From<std::process::Command> for RegtestUtilsError {
    fn from(value: std::process::Command) -> Self {
        RegtestUtilsError::OsCommandError(value)
    }
}