mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
Add 'stable' feature; Relax versions; Update examples
This commit is contained in:
parent
460d448c5f
commit
61a0e1a03f
28 changed files with 37 additions and 36 deletions
19
Cargo.toml
19
Cargo.toml
|
@ -13,15 +13,15 @@ repository = "https://github.com/Synphonyte/leptos-use"
|
|||
homepage = "https://leptos-use.rs"
|
||||
|
||||
[dependencies]
|
||||
leptos = { version = "0.3", features = ["stable"] }
|
||||
wasm-bindgen = "0.2.86"
|
||||
js-sys = "0.3.63"
|
||||
default-struct-builder = "0.2.1"
|
||||
num = { version = "0.4.0", optional = true }
|
||||
serde = { version = "1.0.163", optional = true }
|
||||
serde_json = { version = "1.0.96", optional = true }
|
||||
paste = "1.0.12"
|
||||
lazy_static = "1.4.0"
|
||||
leptos = "0.3"
|
||||
wasm-bindgen = "0.2"
|
||||
js-sys = "0.3"
|
||||
default-struct-builder = "0.2"
|
||||
num = { version = "0.4", optional = true }
|
||||
serde = { version = "1.0", optional = true }
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
paste = "1.0"
|
||||
lazy_static = "1.4"
|
||||
|
||||
[dependencies.web-sys]
|
||||
version = "0.3.63"
|
||||
|
@ -60,6 +60,7 @@ features = [
|
|||
docs = []
|
||||
math = ["num"]
|
||||
storage = ["serde", "serde_json", "web-sys/Storage", "web-sys/StorageEvent"]
|
||||
stable = ["leptos/stable"]
|
||||
|
||||
[package.metadata."docs.rs"]
|
||||
all-features = true
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -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"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "math", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = { version = "0.3", features = ["HtmlElement", "DomStringMap"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -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"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "math", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../.." }
|
||||
leptos-use = { path = "../..", features=["stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -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"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "math", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -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"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "math", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -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"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "math", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -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"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "storage", "stable"] }
|
||||
web-sys = "0.3"
|
||||
serde = "1.0.163"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -8,7 +8,7 @@ leptos = "0.3"
|
|||
console_error_panic_hook = "0.1"
|
||||
console_log = "1"
|
||||
log = "0.4"
|
||||
leptos-use = { path = "../..", features = ["docs"] }
|
||||
leptos-use = { path = "../..", features = ["docs", "stable"] }
|
||||
web-sys = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
Loading…
Add table
Reference in a new issue