Make Uint derive Hash

This commit is contained in:
Olivier 'reivilibre' 2021-01-04 10:50:40 +00:00
parent 22c64dc9c0
commit 71c67d9472
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "serde_bare" name = "serde_bare"
version = "0.3.0" version = "0.3.1-rei"
authors = ["Tadeo Kondrak <me@tadeo.ca>"] authors = ["Tadeo Kondrak <me@tadeo.ca>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2018" edition = "2018"

View File

@ -29,7 +29,7 @@ pub use error::{Error, Result};
#[doc(inline)] #[doc(inline)]
pub use ser::{to_vec, to_writer, Serializer}; pub use ser::{to_vec, to_writer, Serializer};
#[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq)] #[derive(Copy, Clone, Debug, Ord, PartialOrd, Eq, PartialEq, Hash)]
pub struct Uint(pub u64); pub struct Uint(pub u64);
impl Default for Uint { impl Default for Uint {