Remove implicit optional dependency features (#2512)

* remove implicit optional dependency features

* switch to new features in desktop, router and signals crates
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-06-18 18:39:15 -05:00
1 parent b0ae9be9c8
commit a09548d80e
24 files changed
+84 -85

No files matched your search

@@ -2,7 +2,6 @@ use gloo::render::{request_animation_frame, AnimationFrame};
use web_sys::Window;
#[derive(Clone, Copy, Debug, Default)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
pub(crate) struct ScrollPosition {
pub x: f64,
pub y: f64,
-1
View File
@@ -40,7 +40,6 @@ where
}
}
#[cfg(not(feature = "serde"))]
impl<R: Routable + Clone> RouterConfig<R>
where
<R as std::str::FromStr>::Err: std::fmt::Display,