made examples use nightly again so it can be built with CI

This commit is contained in:
Maccesch 2023-06-24 01:37:15 +01:00
parent 79e87d3ad0
commit 8e60515c40
56 changed files with 66 additions and 56 deletions

View file

@ -29,3 +29,13 @@ fn Demo(cx: Scope) -> impl IntoView {
```
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"] }
```

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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"

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"

View file

@ -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]

View file

@ -1,2 +1,2 @@
[toolchain]
channel = "stable"
channel = "nightly"