Skip to content

Upgrade to dioxus 0.5 #21

Description

@adlrwbr

Hello,

Dioxus v0.5 deprecated the 'bump lifetime on components. The UI components (e.g. Staff, StaffElements) have lifetime parameters as they were built for Dioxus v0.4, but Cargo.toml depends on the latest git branch of Dioxus, which makes these components inaccessible. This results in #18 and cargo check --features=ui failing.

To fix this and re-expose the components as intended, I propose we

  1. Lock the dioxus dependencies at 0.4 across the dioxus-resize-observer, dioxus-use-mounted, and staff repositories.
  2. Create a tag for users to consume 0.4 components.
  3. Upgrade components to dioxus 0.5 and release new tag.

I'm happy to submit PRs for this. Lmk if you have feedback on this plan. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions