Skip to content

Commit c1ec81a

Browse files
committed
chore: sync upstream
1 parent d7baf88 commit c1ec81a

File tree

4 files changed

+799
-579
lines changed

4 files changed

+799
-579
lines changed

Cargo.toml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,24 @@ http-body-util = "0.1.0"
1212
hyper = "1.1.0"
1313
serde = { version = "1", features = ["derive"] }
1414
serde_json = "1"
15-
tokio = { version = "1", default-features = false }
1615
parking_lot = "0.12.1"
16+
cfg-if = "1"
17+
18+
tokio = { version = "1", default-features = false }
19+
tokio-util = { version = "0.7", features = ["rt"] }
1720

1821
leptos_viz = { path = "." }
19-
leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
20-
leptos_meta = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
21-
leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
22-
leptos_reactive = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
23-
leptos_integration_utils = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
22+
leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
23+
leptos_macro = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
24+
leptos_meta = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
25+
leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
26+
leptos_reactive = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
27+
leptos_integration_utils = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
28+
server_fn = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
29+
30+
# registration system
31+
dashmap = "5"
32+
once_cell = "1"
2433

2534
[package]
2635
name = "leptos_viz"
@@ -37,17 +46,27 @@ futures.workspace = true
3746
http.workspace = true
3847
http-body-util.workspace = true
3948
hyper.workspace = true
49+
serde_json.workspace = true
50+
tokio.workspace = true
51+
parking_lot.workspace = true
52+
cfg-if.workspace = true
53+
4054
leptos = { workspace = true, features = ["ssr"] }
4155
leptos_meta = { workspace = true, features = ["ssr"] }
4256
leptos_router = { workspace = true, features = ["ssr"] }
4357
leptos_integration_utils.workspace = true
44-
serde_json.workspace = true
45-
tokio.workspace = true
46-
parking_lot.workspace = true
58+
server_fn = { workspace = true, features = ["ssr"] }
59+
60+
dashmap.workspace = true
61+
once_cell.workspace = true
62+
63+
tokio-util.workspace = true
4764

4865
[dev-dependencies]
4966
tokio = { workspace = true, features = ["full"] }
5067

5168
[features]
5269
nonce = ["leptos/nonce"]
70+
wasm = []
71+
default = ["tokio/full"]
5372
experimental-islands = ["leptos_integration_utils/experimental-islands"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
leptos_viz
22
-----------
33

4-
Viz integrations for the [Leptos] web framework.
4+
Viz integration for the [Leptos] web framework.
55

66

77
An example can be found [here].

examples/todo_app_sqlite_viz/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ http.workspace = true
2626
futures.workspace = true
2727
leptos.workspace = true
2828
leptos_viz = { workspace = true, optional = true }
29+
leptos_macro = { workspace = true, features = ["nightly"] }
2930
leptos_meta = { workspace = true, features = ["nightly"] }
3031
leptos_router = { workspace = true, features = ["nightly"] }
3132
leptos_reactive = { workspace = true, features = ["nightly"] }
@@ -38,6 +39,7 @@ ssr = [
3839
"dep:tokio",
3940
"dep:sqlx",
4041
"leptos/ssr",
42+
"leptos_macro/ssr",
4143
"leptos_meta/ssr",
4244
"leptos_router/ssr",
4345
"dep:leptos_viz",

0 commit comments

Comments
 (0)