formattable 0.0.1

Ergonomically support formatted output
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[cfg(feature = "json")]
    #[error(transparent)]
    Json(#[from] serde_json::Error),

    #[cfg(feature = "toml")]
    #[error(transparent)]
    Toml(#[from] toml::ser::Error),

    #[cfg(feature = "yaml")]
    #[error(transparent)]
    Yaml(#[from] serde_yaml::Error),
}