Skip to content

Commit

Permalink
Rename crates and directories
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Oct 6, 2024
1 parent 458332d commit 99c5a64
Show file tree
Hide file tree
Showing 37 changed files with 22 additions and 26 deletions.
21 changes: 12 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@

[workspace]
# members = ["packages/dom"]
# members = ["packages/blitz", "packages/dom", "packages/dioxus-blitz"]
# exclude = ["packages/blitz", "packages/dioxus-blitz"]
members = ["packages/blitz", "packages/dom", "packages/dioxus-blitz", "packages/net", "packages/traits"]
members = [
"packages/blitz-traits",
"packages/blitz-dom",
"packages/blitz-net",
"packages/blitz-renderer-vello",
"packages/dioxus-blitz"
]
resolver = "2"

[workspace.dependencies]
Expand Down Expand Up @@ -62,13 +65,13 @@ incremental = false
[dev-dependencies]
# webrender = "0.61.0"
# mozbuild = "0.1.0"
blitz = { path = "./packages/blitz" }
blitz-dom = { path = "./packages/dom" }
blitz-net = { path = "./packages/net" }
blitz-traits = { path = "./packages/traits" }
blitz-dom = { path = "./packages/blitz-dom" }
blitz-net = { path = "./packages/blitz-net" }
blitz-traits = { path = "./packages/blitz-traits" }
blitz-renderer-vello = { path = "./packages/blitz-renderer-vello" }
dioxus-blitz = { path = "./packages/dioxus-blitz", features = ["tracing"] }
comrak = { git = "https://github.com/nicoburns/comrak", branch = "tasklist-class", default-features = false, features = ["syntect"] }
png = { version = "0.17" }
dioxus-blitz = { path = "./packages/dioxus-blitz", features = ["tracing"] }
dioxus = { workspace = true }
euclid = { version = "0.22", features = ["serde"] }
reqwest = "0.11.24"
Expand Down
2 changes: 1 addition & 1 deletion packages/dom/Cargo.toml → packages/blitz-dom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default = ["tracing"]
tracing = ["dep:tracing"]

[dependencies]
blitz-traits = { path = "../traits" }
blitz-traits = { path = "../blitz-traits" }
style = { workspace = true, features = ["servo"] }
selectors = { workspace = true }
style_config = { workspace = true }
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.
2 changes: 1 addition & 1 deletion packages/net/Cargo.toml → packages/blitz-net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
blitz-traits = { path = "../traits" }
blitz-traits = { path = "../blitz-traits" }
tokio = { workspace = true }
reqwest = { version = "0.12.7" }
data-url = "0.3.1"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "blitz"
name = "blitz-renderer-vello"
version = "0.1.0"
edition = "2021"

Expand All @@ -8,7 +8,7 @@ default = ["tracing"]
tracing = ["dep:tracing"]

[dependencies]
blitz-dom = { path = "../dom" }
blitz-dom = { path = "../blitz-dom" }
style = { workspace = true, features = ["servo"] }
taffy = { workspace = true }
parley = { workspace = true }
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.
10 changes: 5 additions & 5 deletions packages/dioxus-blitz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ tracing = ["dep:tracing"]
default = ["accessibility", "hot-reload", "menu", "tracing"]

[dependencies]
blitz-renderer-vello = { path = "../blitz-renderer-vello" }
blitz-dom = { path = "../blitz-dom" }
blitz-net = { path = "../blitz-net" }
blitz-traits = { path = "../blitz-traits" }
accesskit = { version = "0.15.0", optional = true }
accesskit_winit = { version = "0.21.1", optional = true }
winit = { version = "0.30.2", features = ["rwh_06"] }
muda = { version = "0.11.5", features = ["serde"], optional = true }
tokio = { workspace = true, features = ["full"] }
dioxus = { workspace = true }
dioxus-cli-config = { workspace = true, optional = true }
dioxus-devtools = { workspace = true, package = "dioxus-devtools", optional = true }
dioxus-devtools = { workspace = true, optional = true }
futures-util = "0.3.30"
vello = { workspace = true }
wgpu = { workspace = true }
style = { workspace = true }
tracing = { workspace = true, optional = true }
blitz = { path = "../blitz" }
blitz-dom = { path = "../dom" }
blitz-net = { path = "../net" }
blitz-traits = { path = "../traits" }
url = { version = "2.5.0", features = ["serde"] }
ureq = "2.9"
rustc-hash = "1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/dioxus-blitz/src/window.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use crate::accessibility::AccessibilityState;
use crate::waker::{create_waker, BlitzEvent, BlitzWindowEvent};
use crate::{stylo_to_winit, Callback};
use blitz::{Devtools, Renderer};
use blitz_dom::events::{EventData, RendererEvent};
use blitz_dom::{DocumentLike, Viewport};
use blitz_renderer_vello::{Devtools, Renderer};
use winit::keyboard::PhysicalKey;

#[allow(unused)]
Expand Down
7 changes: 0 additions & 7 deletions packages/dom/Cargo.lock

This file was deleted.

0 comments on commit 99c5a64

Please sign in to comment.