Skip to content

Commit 1766af4

Browse files
authored
Sync 0.8.x versions of dioxus-native and dioxus-native-dom from Blitz repo (#5507)
* Sync native and native-dom packages from blitz repo (0.8) Signed-off-by: Nico Burns <nico@nicoburns.com> * Fixups Signed-off-by: Nico Burns <nico@nicoburns.com> * Use Rust 1.92 in CI Signed-off-by: Nico Burns <nico@nicoburns.com> * Fix compiling dioxus-native with --all-features Signed-off-by: Nico Burns <nico@nicoburns.com> * Bump bytemuck dep to 1.25 Signed-off-by: Nico Burns <nico@nicoburns.com> * Fixup minimal versions --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent 2cd5245 commit 1766af4

28 files changed

Lines changed: 2291 additions & 1470 deletions

File tree

.github/workflows/main.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
with:
192192
packages: libwebkit2gtk-4.1-dev libgtk-3-dev libasound2-dev libudev-dev libayatana-appindicator3-dev libxdo-dev libglib2.0-dev patchelf desktop-file-utils librsvg2-dev
193193
version: 1.0
194-
- uses: dtolnay/rust-toolchain@1.88.0
194+
- uses: dtolnay/rust-toolchain@1.92.0
195195
- uses: Swatinem/rust-cache@v2
196196
with:
197197
cache-all-crates: "true"
@@ -227,7 +227,7 @@ jobs:
227227
timeout-minutes: 45
228228
steps:
229229
- uses: actions/checkout@v5
230-
- uses: dtolnay/rust-toolchain@1.88.0
230+
- uses: dtolnay/rust-toolchain@1.92.0
231231
- uses: Swatinem/rust-cache@v2
232232
with:
233233
cache-all-crates: "true"
@@ -265,7 +265,7 @@ jobs:
265265
- name: Copy Repo to Dev Drive
266266
run: Copy-Item -Path "${{ github.workspace }}" -Destination "$env:DIOXUS_WORKSPACE" -Recurse
267267
- name: Install Rust
268-
uses: dtolnay/rust-toolchain@1.88.0
268+
uses: dtolnay/rust-toolchain@1.92.0
269269
with:
270270
components: rustfmt, clippy
271271
- uses: Swatinem/rust-cache@v2
@@ -325,7 +325,7 @@ jobs:
325325
with:
326326
node-version: 24
327327
- name: Install Rust
328-
uses: dtolnay/rust-toolchain@1.88.0
328+
uses: dtolnay/rust-toolchain@1.92.0
329329
with:
330330
targets: wasm32-unknown-unknown
331331
components: rustfmt, clippy
@@ -367,7 +367,7 @@ jobs:
367367
strategy:
368368
matrix:
369369
include:
370-
- { os: warp-ubuntu-latest-x64-8x, name: "Linux (stable)", toolchain: "1.88.0" }
370+
- { os: warp-ubuntu-latest-x64-8x, name: "Linux (stable)", toolchain: "1.92.0" }
371371
- { os: warp-ubuntu-latest-x64-8x, name: "Linux (beta)", toolchain: beta }
372372
steps:
373373
# Do our best to cache the toolchain and node install steps
@@ -431,7 +431,7 @@ jobs:
431431
with:
432432
packages: libwebkit2gtk-4.1-dev libgtk-3-dev libasound2-dev libudev-dev libayatana-appindicator3-dev libxdo-dev libglib2.0-dev
433433
version: 1.0
434-
- uses: dtolnay/rust-toolchain@1.88.0
434+
- uses: dtolnay/rust-toolchain@1.92.0
435435
with:
436436
components: rustfmt, clippy
437437
- uses: Swatinem/rust-cache@v2
@@ -456,7 +456,7 @@ jobs:
456456
with:
457457
packages: libwebkit2gtk-4.1-dev libgtk-3-dev libasound2-dev libudev-dev libayatana-appindicator3-dev libxdo-dev libglib2.0-dev
458458
version: 1.0
459-
- uses: dtolnay/rust-toolchain@1.88.0
459+
- uses: dtolnay/rust-toolchain@1.92.0
460460
with:
461461
components: rustfmt, clippy
462462
- uses: Swatinem/rust-cache@v2
@@ -481,7 +481,7 @@ jobs:
481481
- {
482482
target: aarch64-apple-darwin,
483483
os: warp-macos-latest-arm64-6x,
484-
toolchain: "1.88.0",
484+
toolchain: "1.92.0",
485485
cross: false,
486486
command: "test",
487487
args: "--all --tests",
@@ -490,7 +490,7 @@ jobs:
490490
- {
491491
target: aarch64-apple-ios,
492492
os: warp-macos-latest-arm64-6x,
493-
toolchain: "1.88.0",
493+
toolchain: "1.92.0",
494494
cross: false,
495495
command: "build",
496496
args: "--package dioxus-desktop",
@@ -499,7 +499,7 @@ jobs:
499499
- {
500500
target: aarch64-unknown-linux-gnu,
501501
os: warp-ubuntu-latest-arm64-4x,
502-
toolchain: "1.88.0",
502+
toolchain: "1.92.0",
503503
cross: false,
504504
command: "build",
505505
args: "--all --tests",
@@ -508,7 +508,7 @@ jobs:
508508
- {
509509
target: aarch64-linux-android,
510510
os: warp-ubuntu-latest-x64-4x,
511-
toolchain: "1.88.0",
511+
toolchain: "1.92.0",
512512
cross: true,
513513
command: "build",
514514
args: "--package dioxus-desktop",
@@ -518,7 +518,7 @@ jobs:
518518
# - {
519519
# target: x86_64-unknown-linux-gnu,
520520
# os: ubuntu-24.04,
521-
# toolchain: "1.88.0",
521+
# toolchain: "1.92.0",
522522
# cross: false,
523523
# command: "build",
524524
# args: "--all --tests",
@@ -597,7 +597,7 @@ jobs:
597597
- uses: dtolnay/rust-toolchain@nightly
598598
with:
599599
toolchain: ${{ env.rust_nightly }}
600-
- uses: dtolnay/rust-toolchain@1.88.0
600+
- uses: dtolnay/rust-toolchain@1.92.0
601601
- uses: Swatinem/rust-cache@v2
602602
with:
603603
cache-all-crates: "true"
@@ -606,7 +606,7 @@ jobs:
606606
- name: Generate minimal-version lockfile
607607
run: cargo +${{ env.rust_nightly }} update -Zdirect-minimal-versions
608608
- name: Check workspace with minimum versions
609-
run: cargo +1.88.0 check --workspace
609+
run: cargo +1.92.0 check --workspace
610610

611611
nix:
612612
needs: check-paths

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- name: Install stable
103103
uses: dtolnay/rust-toolchain@master
104104
with:
105-
toolchain: "1.88.0"
105+
toolchain: "1.92.0"
106106
targets: ${{ matrix.platform.target }}
107107

108108
- uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)