diff --git a/docs/book/src/get_started.md b/docs/book/src/get_started.md index b6be9ee..46cc788 100644 --- a/docs/book/src/get_started.md +++ b/docs/book/src/get_started.md @@ -28,4 +28,14 @@ fn Demo(cx: Scope) -> impl IntoView { } ``` -Please refer to the [functions list](functions.md) for more details. \ No newline at end of file +Please refer to the [functions list](functions.md) for more details. + +## Stable Rust + +By default — like `leptos` — the library assumes you're using the +nightly Rust toolchain. This allows for more ergonomic use of signals. +If you want to use stable Rust, you have to enable the `stable` crate feature. + +```toml +leptos-use = { version = "...", features = ["stable"] } +``` diff --git a/docs/book/src/sensors/use_element_hover.md b/docs/book/src/sensors/use_element_hover.md index 9b3d224..07ba3d7 100644 --- a/docs/book/src/sensors/use_element_hover.md +++ b/docs/book/src/sensors/use_element_hover.md @@ -1,3 +1,3 @@ # use_element_hover - + diff --git a/examples/on_click_outside/Cargo.toml b/examples/on_click_outside/Cargo.toml index 1c9d461..3b58787 100644 --- a/examples/on_click_outside/Cargo.toml +++ b/examples/on_click_outside/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/on_click_outside/rust-toolchain.toml b/examples/on_click_outside/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/on_click_outside/rust-toolchain.toml +++ b/examples/on_click_outside/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_abs/Cargo.toml b/examples/use_abs/Cargo.toml index 78ea0e5..336eb08 100644 --- a/examples/use_abs/Cargo.toml +++ b/examples/use_abs/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "math", "stable"] } +leptos-use = { path = "../..", features = ["docs", "math"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_abs/rust-toolchain.toml b/examples/use_abs/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_abs/rust-toolchain.toml +++ b/examples/use_abs/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_active_element/Cargo.toml b/examples/use_active_element/Cargo.toml index 73d9144..be7b070 100644 --- a/examples/use_active_element/Cargo.toml +++ b/examples/use_active_element/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = { version = "0.3", features = ["HtmlElement", "DomStringMap"] } [dev-dependencies] diff --git a/examples/use_active_element/rust-toolchain.toml b/examples/use_active_element/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_active_element/rust-toolchain.toml +++ b/examples/use_active_element/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_breakpoints/Cargo.toml b/examples/use_breakpoints/Cargo.toml index 546b242..f2c75ec 100644 --- a/examples/use_breakpoints/Cargo.toml +++ b/examples/use_breakpoints/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_breakpoints/rust-toolchain.toml b/examples/use_breakpoints/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_breakpoints/rust-toolchain.toml +++ b/examples/use_breakpoints/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_ceil/Cargo.toml b/examples/use_ceil/Cargo.toml index edaed09..8752d0f 100644 --- a/examples/use_ceil/Cargo.toml +++ b/examples/use_ceil/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "math", "stable"] } +leptos-use = { path = "../..", features = ["docs", "math"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_ceil/rust-toolchain.toml b/examples/use_ceil/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_ceil/rust-toolchain.toml +++ b/examples/use_ceil/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_css_var/Cargo.toml b/examples/use_css_var/Cargo.toml index 19f4190..c768e8d 100644 --- a/examples/use_css_var/Cargo.toml +++ b/examples/use_css_var/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_css_var/rust-toolchain.toml b/examples/use_css_var/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_css_var/rust-toolchain.toml +++ b/examples/use_css_var/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_debounce_fn/Cargo.toml b/examples/use_debounce_fn/Cargo.toml index 8cf851d..21f7aa5 100644 --- a/examples/use_debounce_fn/Cargo.toml +++ b/examples/use_debounce_fn/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_debounce_fn/rust-toolchain.toml b/examples/use_debounce_fn/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_debounce_fn/rust-toolchain.toml +++ b/examples/use_debounce_fn/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_element_hover/Cargo.toml b/examples/use_element_hover/Cargo.toml index 3da3267..e4b60cb 100644 --- a/examples/use_element_hover/Cargo.toml +++ b/examples/use_element_hover/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_element_hover/rust-toolchain.toml b/examples/use_element_hover/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_element_hover/rust-toolchain.toml +++ b/examples/use_element_hover/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_element_size/Cargo.toml b/examples/use_element_size/Cargo.toml index d4f16fb..e249885 100644 --- a/examples/use_element_size/Cargo.toml +++ b/examples/use_element_size/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_element_size/rust-toolchain.toml b/examples/use_element_size/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_element_size/rust-toolchain.toml +++ b/examples/use_element_size/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_element_visibility/Cargo.toml b/examples/use_element_visibility/Cargo.toml index 56057a5..0d31009 100644 --- a/examples/use_element_visibility/Cargo.toml +++ b/examples/use_element_visibility/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_element_visibility/rust-toolchain.toml b/examples/use_element_visibility/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_element_visibility/rust-toolchain.toml +++ b/examples/use_element_visibility/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_event_listener/Cargo.toml b/examples/use_event_listener/Cargo.toml index 8993f8f..cb4011a 100644 --- a/examples/use_event_listener/Cargo.toml +++ b/examples/use_event_listener/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features=["stable"] } +leptos-use = { path = "../.." } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_event_listener/rust-toolchain.toml b/examples/use_event_listener/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_event_listener/rust-toolchain.toml +++ b/examples/use_event_listener/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_favicon/Cargo.toml b/examples/use_favicon/Cargo.toml index d8b7d22..200f958 100644 --- a/examples/use_favicon/Cargo.toml +++ b/examples/use_favicon/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_favicon/rust-toolchain.toml b/examples/use_favicon/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_favicon/rust-toolchain.toml +++ b/examples/use_favicon/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_floor/Cargo.toml b/examples/use_floor/Cargo.toml index 956059f..88cebcc 100644 --- a/examples/use_floor/Cargo.toml +++ b/examples/use_floor/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "math", "stable"] } +leptos-use = { path = "../..", features = ["docs", "math"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_floor/rust-toolchain.toml b/examples/use_floor/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_floor/rust-toolchain.toml +++ b/examples/use_floor/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_intersection_observer/Cargo.toml b/examples/use_intersection_observer/Cargo.toml index 58c8384..21a8273 100644 --- a/examples/use_intersection_observer/Cargo.toml +++ b/examples/use_intersection_observer/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_intersection_observer/rust-toolchain.toml b/examples/use_intersection_observer/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_intersection_observer/rust-toolchain.toml +++ b/examples/use_intersection_observer/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_interval/Cargo.toml b/examples/use_interval/Cargo.toml index 10ddbfc..216ae55 100644 --- a/examples/use_interval/Cargo.toml +++ b/examples/use_interval/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_interval/rust-toolchain.toml b/examples/use_interval/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_interval/rust-toolchain.toml +++ b/examples/use_interval/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_interval_fn/Cargo.toml b/examples/use_interval_fn/Cargo.toml index f5cd506..c653304 100644 --- a/examples/use_interval_fn/Cargo.toml +++ b/examples/use_interval_fn/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "math", "stable"] } +leptos-use = { path = "../..", features = ["docs", "math"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_interval_fn/rust-toolchain.toml b/examples/use_interval_fn/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_interval_fn/rust-toolchain.toml +++ b/examples/use_interval_fn/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_media_query/Cargo.toml b/examples/use_media_query/Cargo.toml index 86a1edb..9b64d51 100644 --- a/examples/use_media_query/Cargo.toml +++ b/examples/use_media_query/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_media_query/rust-toolchain.toml b/examples/use_media_query/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_media_query/rust-toolchain.toml +++ b/examples/use_media_query/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_mouse/Cargo.toml b/examples/use_mouse/Cargo.toml index 7a6a9e1..460aa22 100644 --- a/examples/use_mouse/Cargo.toml +++ b/examples/use_mouse/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_mouse/rust-toolchain.toml b/examples/use_mouse/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_mouse/rust-toolchain.toml +++ b/examples/use_mouse/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_mutation_observer/Cargo.toml b/examples/use_mutation_observer/Cargo.toml index e539a50..495345d 100644 --- a/examples/use_mutation_observer/Cargo.toml +++ b/examples/use_mutation_observer/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_mutation_observer/rust-toolchain.toml b/examples/use_mutation_observer/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_mutation_observer/rust-toolchain.toml +++ b/examples/use_mutation_observer/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_resize_observer/Cargo.toml b/examples/use_resize_observer/Cargo.toml index 8f61697..0078693 100644 --- a/examples/use_resize_observer/Cargo.toml +++ b/examples/use_resize_observer/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_resize_observer/rust-toolchain.toml b/examples/use_resize_observer/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_resize_observer/rust-toolchain.toml +++ b/examples/use_resize_observer/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_round/Cargo.toml b/examples/use_round/Cargo.toml index ebecc80..bdabb3d 100644 --- a/examples/use_round/Cargo.toml +++ b/examples/use_round/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "math", "stable"] } +leptos-use = { path = "../..", features = ["docs", "math"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_round/rust-toolchain.toml b/examples/use_round/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_round/rust-toolchain.toml +++ b/examples/use_round/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_scroll/Cargo.toml b/examples/use_scroll/Cargo.toml index a278421..07cf122 100644 --- a/examples/use_scroll/Cargo.toml +++ b/examples/use_scroll/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_scroll/rust-toolchain.toml b/examples/use_scroll/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_scroll/rust-toolchain.toml +++ b/examples/use_scroll/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_storage/Cargo.toml b/examples/use_storage/Cargo.toml index db8fa48..6feffb9 100644 --- a/examples/use_storage/Cargo.toml +++ b/examples/use_storage/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "storage", "stable"] } +leptos-use = { path = "../..", features = ["docs", "storage"] } web-sys = "0.3" serde = "1.0.163" diff --git a/examples/use_storage/rust-toolchain.toml b/examples/use_storage/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_storage/rust-toolchain.toml +++ b/examples/use_storage/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/use_throttle_fn/Cargo.toml b/examples/use_throttle_fn/Cargo.toml index 2dc8fd5..2c4e1f8 100644 --- a/examples/use_throttle_fn/Cargo.toml +++ b/examples/use_throttle_fn/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/use_throttle_fn/rust-toolchain.toml b/examples/use_throttle_fn/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/use_throttle_fn/rust-toolchain.toml +++ b/examples/use_throttle_fn/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/watch_debounced/Cargo.toml b/examples/watch_debounced/Cargo.toml index 4bc78c7..d3df1b7 100644 --- a/examples/watch_debounced/Cargo.toml +++ b/examples/watch_debounced/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/watch_debounced/rust-toolchain.toml b/examples/watch_debounced/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/watch_debounced/rust-toolchain.toml +++ b/examples/watch_debounced/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/watch_pausable/Cargo.toml b/examples/watch_pausable/Cargo.toml index 9d97e42..5fb0fc1 100644 --- a/examples/watch_pausable/Cargo.toml +++ b/examples/watch_pausable/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/watch_pausable/rust-toolchain.toml b/examples/watch_pausable/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/watch_pausable/rust-toolchain.toml +++ b/examples/watch_pausable/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly" diff --git a/examples/watch_throttled/Cargo.toml b/examples/watch_throttled/Cargo.toml index 432cdba..dbc4789 100644 --- a/examples/watch_throttled/Cargo.toml +++ b/examples/watch_throttled/Cargo.toml @@ -8,7 +8,7 @@ leptos = "0.3" console_error_panic_hook = "0.1" console_log = "1" log = "0.4" -leptos-use = { path = "../..", features = ["docs", "stable"] } +leptos-use = { path = "../..", features = ["docs"] } web-sys = "0.3" [dev-dependencies] diff --git a/examples/watch_throttled/rust-toolchain.toml b/examples/watch_throttled/rust-toolchain.toml index 292fe49..5d56faf 100644 --- a/examples/watch_throttled/rust-toolchain.toml +++ b/examples/watch_throttled/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "stable" +channel = "nightly"