From 6bbf1e165474a2d1d38dfd12c28eb9d6d50880d3 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Sun, 25 Aug 2024 17:23:53 +0200 Subject: [PATCH] fix: Use freya from git, using the incremental rendering branch --- Cargo.lock | 12 ++++++++++++ Cargo.toml | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 14d77dc..f4f46e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1828,6 +1828,7 @@ dependencies = [ [[package]] name = "freya" version = "0.2.2" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "dioxus", "dioxus-core", @@ -1850,6 +1851,7 @@ dependencies = [ [[package]] name = "freya-common" version = "0.2.1" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "accesskit", "accesskit_winit", @@ -1866,6 +1868,7 @@ dependencies = [ [[package]] name = "freya-components" version = "0.2.1" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "bytes", "dioxus", @@ -1888,6 +1891,7 @@ dependencies = [ [[package]] name = "freya-core" version = "0.2.1" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "accesskit", "dioxus-core", @@ -1909,6 +1913,7 @@ dependencies = [ [[package]] name = "freya-elements" version = "0.2.0" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "dioxus-core", "dioxus-rsx", @@ -1920,6 +1925,7 @@ dependencies = [ [[package]] name = "freya-engine" version = "0.2.2" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "bitflags 2.6.0", "glutin", @@ -1929,6 +1935,7 @@ dependencies = [ [[package]] name = "freya-hooks" version = "0.2.1" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "bitflags 2.6.0", "bytes", @@ -1953,6 +1960,7 @@ dependencies = [ [[package]] name = "freya-native-core" version = "0.2.1" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "anymap", "dashmap", @@ -1966,6 +1974,7 @@ dependencies = [ [[package]] name = "freya-native-core-macro" version = "0.2.0" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "quote", "syn 2.0.72", @@ -1974,6 +1983,7 @@ dependencies = [ [[package]] name = "freya-node-state" version = "0.2.1" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "accesskit", "bytes", @@ -1993,6 +2003,7 @@ dependencies = [ [[package]] name = "freya-renderer" version = "0.2.1" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "accesskit", "accesskit_winit", @@ -5046,6 +5057,7 @@ dependencies = [ [[package]] name = "torin" version = "0.2.0" +source = "git+https://github.com/marc2332/freya?branch=feat/incremental-rendering#daf1391a566ab7fee69e1bd6126e0286f7d01cf0" dependencies = [ "euclid", "freya-native-core", diff --git a/Cargo.toml b/Cargo.toml index b9f9c85..6e082e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" dioxus-sdk = { git = "https://github.com/DioxusLabs/sdk", rev = "57ab3fa972c6d4a7acc25e82a0aafc3ff9e63403" } [dependencies] -freya-node-state = { path = "../freya/crates/state" } -freya = { path = "../freya/crates/freya" } -freya-hooks = { path = "../freya/crates/hooks" } +freya-node-state = { git = "https://github.com/marc2332/freya", branch = "feat/incremental-rendering" } +freya = { git = "https://github.com/marc2332/freya", branch = "feat/incremental-rendering" } +freya-hooks = { git = "https://github.com/marc2332/freya", branch = "feat/incremental-rendering" } dioxus-radio = "0.2.4" dioxus = "0.5"