literate 0.5.1

A literate programming tool that extracts code written in your Markdown files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

#[derive(Error, Debug)]
pub enum LiterateError {
    #[error(transparent)]
    IO(#[from] std::io::Error),
    #[cfg(feature = "walk")]
    #[error(transparent)]
    Walk(#[from] walkdir::Error),
    #[cfg(feature = "walk")]
    #[error(transparent)]
    Prefix(#[from] std::path::StripPrefixError),
    #[error("Unknown error")]
    Unknown,
}