Skip to content

Commit b375b66

Browse files
committed
fix: Use absolute path for hash trait when the tracing feature is enabled
1 parent 4534433 commit b375b66

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dioxus-radio"
3-
version = "0.5.0"
3+
version = "0.5.1"
44
edition = "2021"
55
description = "Fully-typed global state management with a topics subscription system for Dioxus 🧬"
66
readme = "./README.md"

src/hooks/use_radio.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ mod warnings {
1111
pub use warnings::Warning;
1212

1313
#[cfg(feature = "tracing")]
14-
pub trait RadioChannel<T>: 'static + PartialEq + Eq + Clone + Hash + std::fmt::Debug + Ord {
14+
pub trait RadioChannel<T>:
15+
'static + PartialEq + Eq + Clone + std::hash::Hash + std::fmt::Debug + Ord
16+
{
1517
fn derive_channel(self, _radio: &T) -> Vec<Self> {
1618
vec![self]
1719
}

0 commit comments

Comments
 (0)