parse-blogger-backup-xml 0.1.3

Parse a blogger backup.xml file into posts with comments.
Documentation
1
2
3
4
5
6
7
8
9
use std::fmt::Debug;

pub type BtError = Box<dyn std::error::Error>;
pub type BtResult<T> = Result<T, BtError>;
pub type EmptyResult = Result<(), BtError>;

pub fn errstr<T: Debug>(message: &str, error: T) -> String {
    format!("{} Error is `{:?}`", message, error)
}