Skip to content

Commit d84b611

Browse files
committed
add needed Hash trait impl for Cip0134Uri type
1 parent 7bfe86d commit d84b611

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust/cardano-blockchain-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cardano-blockchain-types"
33
description = "Common Cardano Blockchain data types for use in both applications and crates"
44
keywords = ["cardano", "catalyst", ]
5-
version = "0.0.8"
5+
version = "0.0.9"
66
authors = [
77
"Steven Johnson <[email protected]>"
88
]

rust/cardano-blockchain-types/src/cip134_uri.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
use std::fmt::{Display, Formatter};
77

8-
use anyhow::{Context, Error, Result, anyhow};
8+
use anyhow::{anyhow, Context, Error, Result};
99
use pallas_addresses::Address;
1010

1111
/// A URI in the CIP-0134 format.
1212
///
1313
/// See the [proposal] for more details.
1414
///
1515
/// [proposal]: https://github.com/cardano-foundation/CIPs/pull/888
16-
#[derive(Debug, Clone, Eq, PartialEq)]
16+
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
1717
#[allow(clippy::module_name_repetitions)]
1818
pub struct Cip0134Uri {
1919
/// A URI string.

0 commit comments

Comments
 (0)