PolyMeilex / rfd

Rusty File Dialog
MIT License
566 stars 64 forks source link

Make Zenity backend optional #160

Closed Ralith closed 9 months ago

Ralith commented 10 months ago

Saves some Rust dependencies for users who are willing to require gtk3 (the default) or who don't want message dialogs at all.

Ralith commented 10 months ago

Alternatively, the zenity backend could be rewritten to spawn a background thread rather than relying on async-io, making it much lighter weight and more portable. Adaptation to futures could use something like oneshot or a trivial hand-rolled channel.

PolyMeilex commented 9 months ago

Alternatively, the zenity backend could be rewritten to spawn a background thread

Sounds like a better idea, I will do that instead in spare time.

Ralith commented 9 months ago

Thanks!