-
Notifications
You must be signed in to change notification settings - Fork 70
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
Reduce or Feature gate dependencies #140
Comments
|
oh, does |
It reads stdout asynchronously, but I guess this could just be moved to a blocking thread, performance does not matter for this anyway, async-io was used for that as zenity is only used for xdg-portal backend for now (for messages dialogs) and async-io is a dep of that backend already anyway. |
hmm. So, when the next version releases, is it possible to use zenity (for open/save file dialogs) without xdg-portal? |
Once zenity backend becomes a thing someday, yes |
Removed all the async related deps from gtk backend: #141 |
0.12 published with async deps removed from GTK feature gate (Feel free to reopen if I missed some) |
I would like to preface this by saying that i am ignorant in this area. So, i apologize in advance if i am asking a dumb question.
But is it possible to put all those async dependencies behind feature flags for async dialogs? or do we need those for the blocking operations too (especially on windows/linux)?
with all features disabled, this is the output of
cargo tree
😢 (over 50 deps, mostly fromasync-io
)And here i have xdg portal feature enabled for linux 😭 😭 😭 (over 150 dependencies, mostly from
ashpd
. )gtk is better, but it still adds more than 50 deps. Fortunately, i can already see that we have a zenity/kdialog backend coming soon which won't need any dependencies at all.
The text was updated successfully, but these errors were encountered: