update to 0.18.2

master
Paul Woolcock 6 years ago
parent b7b8379e10
commit 8e700cf37b
  1. 2
      Cargo.toml
  2. 3
      src/errors.rs

@ -1,6 +1,6 @@
[package] [package]
name = "elefren" name = "elefren"
version = "0.18.1" version = "0.18.2"
description = "A wrapper around the Mastodon API." description = "A wrapper around the Mastodon API."
authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>"] authors = ["Aaron Power <theaaronepower@gmail.com>", "Paul Woolcock <paul@woolcock.us>"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"

@ -94,6 +94,7 @@ impl error::Error for Error {
Error::TomlDe(ref e) => e.description(), Error::TomlDe(ref e) => e.description(),
Error::HeaderStrError(ref e) => e.description(), Error::HeaderStrError(ref e) => e.description(),
Error::HeaderParseError(ref e) => e.description(), Error::HeaderParseError(ref e) => e.description(),
#[cfg(feature = "env")]
Error::Envy(ref e) => e.description(), Error::Envy(ref e) => e.description(),
Error::Other(ref e) => e, Error::Other(ref e) => e,
} }
@ -134,7 +135,7 @@ from! {
#[cfg(feature = "toml")] TomlDeError, TomlDe, #[cfg(feature = "toml")] TomlDeError, TomlDe,
HeaderStrError, HeaderStrError, HeaderStrError, HeaderStrError,
HeaderParseError, HeaderParseError, HeaderParseError, HeaderParseError,
EnvyError, Envy, #[cfg(feature = "env")] EnvyError, Envy,
String, Other, String, Other,
} }

Loading…
Cancel
Save