Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Jul 18, 2025

Dioxus lib is currently not very useful because it doesn't include all of the exports required for rsx usage. It has also been difficult to maintain because most of the code is duplicated with the dioxus crate. This PR removes the crate

CI was also not set up to test inline documentation so a bunch of the imports were incorrect with the changes in #4416. This PR also fixes those issues and adds the test to CI

Closes #4338

@ealmloff ealmloff requested a review from a team as a code owner July 18, 2025 15:01
@ealmloff ealmloff added the breaking This is a breaking change label Jul 18, 2025
@ealmloff ealmloff changed the title Remove dioxus-lib Remove dioxus-lib, fix doc tests Jul 18, 2025
@ealmloff ealmloff changed the title Remove dioxus-lib, fix doc tests Remove dioxus-lib, fix doc imports Jul 18, 2025
@nicoburns
Copy link
Contributor

nicoburns commented Jul 18, 2025

This seems reasonable. Can we add a meta-feature to the dioxus crate to replace it (should not enable launch or bring in any of the renderers)?

@ealmloff
Copy link
Member Author

ealmloff commented Jul 18, 2025

This seems reasonable. Can we add a meta-feature to the dioxus crate to replace it (should not enable launch or bring in any of the renderers)?

Pulled out a lib feature without launch, devtools, or logger which should all be configured from the top level crate

@jkelleyrtp jkelleyrtp merged commit 98f7667 into DioxusLabs:main Jul 18, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This is a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make dioxus-lib more usable

3 participants