-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xilem requires sibling dependency on Winit and Masonry #584
Comments
We do not have any examples written in Arabic. I think you are trying to express that it's not possible to use Xilem without importing Masonry and winit into your project? This is a known issue, but it's not been a priority to address, as we're still in pre-alpha. Unfortunately, due to how Rust examples work, we cannot force them to use re-exports. This can be seen in this stackoverflow discussion. This might make a good clippy lint? |
It's my problem in type |
Which of the following things are you trying to report:
A PR to fix either of these would be welcome. If it's either or none of these, please update your original issue to actually state what the issue is. |
You need to add the properties For example, adding this code to pub type Axis = masonry::widget::Axis; Now, to use Include only the absolutely necessary components for the majority of projects. I hope I have made my point clear. My English isn't great, so I've been using online translation tools. But they're not always the best. |
These variables are already exported via xilem (see This whole issue is known and e.g. discussed here. |
What about EventLoopError? |
I used this a while ago, it didn't work without masonry I'm using the GitHub package directly. If I get a Cargo Crate from GitHub, do I need to manually update the cache for the crate from GitHub in any way ?, or does it update automatically when building the application? |
winit
and masonry
winit
and masonry
required import winit and masonry features without import him to project
default example
https://github.com/linebender/xilem/blob/main/xilem/examples/flex.rs
required to (without required winit and masonry import in project)
The text was updated successfully, but these errors were encountered: