Skip to content

Commit

Permalink
chore: sync upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Jan 19, 2024
1 parent d7baf88 commit c1ec81a
Show file tree
Hide file tree
Showing 4 changed files with 799 additions and 579 deletions.
37 changes: 28 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,24 @@ http-body-util = "0.1.0"
hyper = "1.1.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", default-features = false }
parking_lot = "0.12.1"
cfg-if = "1"

tokio = { version = "1", default-features = false }
tokio-util = { version = "0.7", features = ["rt"] }

leptos_viz = { path = "." }
leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
leptos_meta = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
leptos_reactive = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
leptos_integration_utils = { git = "https://github.com/leptos-rs/leptos.git", rev = "1eaf886" }
leptos = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
leptos_macro = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
leptos_meta = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
leptos_router = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
leptos_reactive = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
leptos_integration_utils = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }
server_fn = { git = "https://github.com/leptos-rs/leptos.git", rev = "04747fc" }

# registration system
dashmap = "5"
once_cell = "1"

[package]
name = "leptos_viz"
Expand All @@ -37,17 +46,27 @@ futures.workspace = true
http.workspace = true
http-body-util.workspace = true
hyper.workspace = true
serde_json.workspace = true
tokio.workspace = true
parking_lot.workspace = true
cfg-if.workspace = true

leptos = { workspace = true, features = ["ssr"] }
leptos_meta = { workspace = true, features = ["ssr"] }
leptos_router = { workspace = true, features = ["ssr"] }
leptos_integration_utils.workspace = true
serde_json.workspace = true
tokio.workspace = true
parking_lot.workspace = true
server_fn = { workspace = true, features = ["ssr"] }

dashmap.workspace = true
once_cell.workspace = true

tokio-util.workspace = true

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

[features]
nonce = ["leptos/nonce"]
wasm = []
default = ["tokio/full"]
experimental-islands = ["leptos_integration_utils/experimental-islands"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
leptos_viz
-----------

Viz integrations for the [Leptos] web framework.
Viz integration for the [Leptos] web framework.


An example can be found [here].
Expand Down
2 changes: 2 additions & 0 deletions examples/todo_app_sqlite_viz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ http.workspace = true
futures.workspace = true
leptos.workspace = true
leptos_viz = { workspace = true, optional = true }
leptos_macro = { workspace = true, features = ["nightly"] }
leptos_meta = { workspace = true, features = ["nightly"] }
leptos_router = { workspace = true, features = ["nightly"] }
leptos_reactive = { workspace = true, features = ["nightly"] }
Expand All @@ -38,6 +39,7 @@ ssr = [
"dep:tokio",
"dep:sqlx",
"leptos/ssr",
"leptos_macro/ssr",
"leptos_meta/ssr",
"leptos_router/ssr",
"dep:leptos_viz",
Expand Down
Loading

0 comments on commit c1ec81a

Please sign in to comment.