Skip to content

Commit

Permalink
Move blitz, blitz-core into its own sub packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Mar 15, 2024
1 parent 9b1b67d commit 45b44a0
Show file tree
Hide file tree
Showing 33 changed files with 34 additions and 29 deletions.
27 changes: 1 addition & 26 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,2 @@
[package]
name = "blitz"
version = "0.1.0"
edition = "2021"
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>", "Evan Almloff"]
description = "Native WGPU based renderer for Dioxus"
license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/blitz"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dioxus = { git = "https://github.com/DioxusLabs/dioxus/" }
dioxus-native-core = { git = "https://github.com/DioxusLabs/dioxus/", features = ["dioxus"] }
dioxus-html = { git = "https://github.com/DioxusLabs/dioxus/" }
dioxus-hot-reload = { git = "https://github.com/DioxusLabs/dioxus/" }
blitz-core = { path = "./blitz-core" }
tokio = { version = "1.26.0", features = ["full"] }
keyboard-types = "0.7.0"

[features]
default = ["hot-reload"]
hot-reload = []

[workspace]
members = ["blitz-core"]
members = ["packages/blitz", "packages/blitz-core"]
File renamed without changes.
10 changes: 7 additions & 3 deletions blitz-core/Cargo.toml → packages/blitz-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ repository = "https://github.com/DioxusLabs/blitz"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dioxus-native-core = { git = "https://github.com/DioxusLabs/dioxus/", features = ["layout-attributes"] }
dioxus-native-core = { git = "https://github.com/DioxusLabs/dioxus/", features = [
"layout-attributes",
] }
dioxus-native-core-macro = { git = "https://github.com/DioxusLabs/dioxus/" }
dioxus-html = { git = "https://github.com/DioxusLabs/dioxus/" }
taffy = "0.3.12"
Expand All @@ -28,7 +29,10 @@ serde_json = "1.0.91"
serde = { version = "1.0.152", features = ["derive"] }
keyboard-types = "0.7.0"
rustc-hash = "1.1.0"
shipyard = { version = "0.6.2", features = ["proc", "std"], default-features = false }
shipyard = { version = "0.6.2", features = [
"proc",
"std",
], default-features = false }
once_cell = "1.17.1"
image = "0.24.5"
quadtree_rs = "0.1.2"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions packages/blitz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "blitz"
version = "0.1.0"
edition = "2021"
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>", "Evan Almloff"]
description = "Native WGPU based renderer for Dioxus"
license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/blitz"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
dioxus = { git = "https://github.com/DioxusLabs/dioxus/" }
dioxus-native-core = { git = "https://github.com/DioxusLabs/dioxus/", features = [
"dioxus",
] }
dioxus-html = { git = "https://github.com/DioxusLabs/dioxus/" }
dioxus-hot-reload = { git = "https://github.com/DioxusLabs/dioxus/" }
blitz-core = { path = "../blitz-core" }
tokio = { version = "1.26.0", features = ["full"] }
keyboard-types = "0.7.0"

[features]
default = ["hot-reload"]
hot-reload = []
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 45b44a0

Please sign in to comment.