From 647b6ff84885f658a0a6da619a091977944c1536 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Tue, 27 Aug 2024 21:35:37 +0200 Subject: [PATCH 1/4] feat: Dioxus 0.6 support --- .github/release-drafter.yml | 2 +- .github/workflows/ci.yml | 17 +++++++++-------- Cargo.toml | 2 +- packages/lib/Cargo.toml | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index a676133..f19fb2f 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,4 +1,4 @@ -name-template: "Release v$RESOLVED_VERSION 🌈" +name-template: "Release v$RESOLVED_VERSION 🦀" tag-template: "v$RESOLVED_VERSION" categories: - title: "🚀 Features" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73f802c..b8487cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,9 @@ name: Cargo Build & Test on: + workflow_dispatch: push: + branches: [ "main" ] pull_request: env: @@ -11,14 +13,13 @@ jobs: build_and_test: name: Rust project - latest runs-on: ubuntu-latest - strategy: - matrix: - toolchain: - - stable - - beta - - nightly steps: - uses: actions/checkout@v3 - - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - name: Install the nightly toolchain + uses: dtolnay/rust-toolchain@nightly + - name: Install linux dependencies + if: runner.os == 'Linux' + run: | + sudo apt update && sudo apt install build-essential libssl-dev pkg-config libglib2.0-dev libgtk-3-dev - run: cargo build --verbose - - run: cargo test --verbose + - run: cargo test --verbose \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 56d1e5f..05f813e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,4 +9,4 @@ members = [ ] [workspace.dependencies] -dioxus = "0.5" +dioxus = "0.6.0-alpha.2" diff --git a/packages/lib/Cargo.toml b/packages/lib/Cargo.toml index ad20e73..0d730cc 100644 --- a/packages/lib/Cargo.toml +++ b/packages/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dioxus-free-icons" -version = "0.8.6" +version = "0.9.0" edition = "2021" authors = ["Daiki Nishikawa ", "Marc Espín "] description = "Use free svg icons in your Dioxus projects easily with dioxus-free-icons." From 35cf17cc143b4515d53f2308e69ebf51a7d36766 Mon Sep 17 00:00:00 2001 From: Marc Espin Date: Thu, 3 Oct 2024 17:20:19 +0200 Subject: [PATCH 2/4] Update icon_component.rs --- packages/lib/src/icon_component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/src/icon_component.rs b/packages/lib/src/icon_component.rs index f85e7c2..a51cb5d 100644 --- a/packages/lib/src/icon_component.rs +++ b/packages/lib/src/icon_component.rs @@ -60,7 +60,7 @@ pub fn Icon(props: IconProps) -> title { "{title_text}" } - }, + } {props.icon.child_elements()} } ) From 2a7b387d4a1c91db79e559e15ab94e1d64ef5248 Mon Sep 17 00:00:00 2001 From: Marc Espin Date: Mon, 4 Nov 2024 22:36:55 +0100 Subject: [PATCH 3/4] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 05f813e..719f494 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,4 +9,4 @@ members = [ ] [workspace.dependencies] -dioxus = "0.6.0-alpha.2" +dioxus = "0.6.0-alpha.4" From c1d6db0914c030c5229da989eaee7abc4c5d61e0 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Tue, 10 Dec 2024 10:43:10 +0100 Subject: [PATCH 4/4] chore: Update to 0.6 --- Cargo.toml | 14 +++++++++++++- README.md | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 05f813e..7281063 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,4 +9,16 @@ members = [ ] [workspace.dependencies] -dioxus = "0.6.0-alpha.2" +dioxus = "0.6.0" + +[profile] + +[profile.wasm-dev] +inherits = "dev" +opt-level = 1 + +[profile.server-dev] +inherits = "dev" + +[profile.android-dev] +inherits = "dev" diff --git a/README.md b/README.md index 002162a..89d3966 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ To use `dioxus-free-icons`, add this to your Cargo.toml: ```toml [dependencies] -dioxus-free-icons = { version = "0.8", features = ["font-awesome-brands"] } +dioxus-free-icons = { version = "0.9", features = ["font-awesome-brands"] } ``` ### Support features