From 1495801450ec5a7bd7dcbd0906bfe8e7cb3df872 Mon Sep 17 00:00:00 2001 From: "Dr. Maxim Orlovsky" Date: Fri, 12 Feb 2021 05:46:58 +0100 Subject: [PATCH] Derive all traits for error; bump version (#49) --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7626155c..8aaaa644 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bech32" -version = "0.7.2" +version = "0.7.3" authors = ["Clark Moody"] repository = "https://github.com/rust-bitcoin/rust-bech32" description = "Encodes and decodes the Bech32 format" diff --git a/src/lib.rs b/src/lib.rs index b12fc764..578ab0aa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -553,7 +553,7 @@ const GEN: [u32; 5] = [ ]; /// Error types for Bech32 encoding / decoding -#[derive(Copy, Clone, PartialEq, Debug)] +#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)] pub enum Error { /// String does not contain the separator character MissingSeparator,