Make Uint derive Hash
This commit is contained in:
parent
22c64dc9c0
commit
71c67d9472
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "serde_bare"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1-rei"
|
||||
authors = ["Tadeo Kondrak <me@tadeo.ca>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
|
|
@ -29,7 +29,7 @@ pub use error::{Error, Result};
|
|||
#[doc(inline)]
|
||||
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);
|
||||
|
||||
impl Default for Uint {
|
||||
|
|
Loading…
Reference in New Issue