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..7281063 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,4 +9,16 @@ members = [ ] [workspace.dependencies] -dioxus = "0.5" +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 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." 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()} } )